Commit Graph

30 Commits

Author SHA1 Message Date
Luke aka SwissalpS
1a86d9a5c6
expose cannon definitions for other mods (#27) 2024-12-29 13:31:01 -05:00
Luke aka SwissalpS
c6f7c02e79
Fix deprication warnings (#24)
* fix deprication warning 'initial_properties'

WARNING[Server]: Reading initial object properties directly from an
entity definition is deprecated, move it to the 'initial_properties'
table instead. (Property 'static_save' in entity
'spacecannon:energycube_<colour>')

* fix deprication warning getpos -> get_pos

WARNING[Server]: Call to deprecated function 'getpos', use 'get_pos'
instead.

* Fix deprication warning set_velocity

Call to deprecated function 'setvelocity', use 'set_velocity' instead
2024-12-29 11:41:13 -05:00
Luke aka SwissalpS
03b10aa53d
cannons aren't ground content 2024-02-27 22:53:21 +01:00
Luke aka SwissalpS
798e4ecb78 Adds pipeworks support for the railguns (#22)
Author: Luke aka SwissalpS <Luke@SwissalpS.ws>
2023-06-07 20:39:08 +10:00
Kiëd Llaentenn
6737757471
Fix projectiles not damaging players (#20)
* fix: projectile not damaging players

* feat: allow servers to control entity/player damage

* tweak: lower cannon damage numbers a bit

* fix: style
2023-06-01 21:46:56 -04:00
Kiëd Llaentenn
05a2494638
feat: add basic textures for railguns (#19) 2023-05-31 17:32:45 +02:00
Kiëd Llaentenn
4ab6284534
feat: give proper names to each cannon (#18)
Also show descriptions in HUD
2023-05-31 10:48:56 +02:00
Kiëd Llaentenn
29c0daca0b
Add railgun cannons (#16)
* feat: add purple and blue cannons (railguns)

* fix: linter warnings

* fix: last commit

Seems I forgot to save some changes that were supposed to be part of the last commit.

* feat: don't change cannon projectile range

Avoid breaking builds on other servers
2023-05-30 05:44:29 +02:00
BuckarooBanzay
8450e4ac70 add "playername" parameter to spacecannon.can_shoot so it can be overridden elsewhere
fixes #10
2021-02-25 19:40:40 +01:00
BuckarooBanzay
61108c179a entity cleanups 2021-01-10 19:41:47 +01:00
BuckarooBanzay
419d663e15 add luacheck workflow 2021-01-10 19:34:08 +01:00
Dennis Jenkins
3475d4deef Implemented digiline support for spacecannon (new commands are 'get' and 'fire'). 2021-01-10 19:26:10 +01:00
NatureFreshMilk
dc598bb21c on_step logic 2019-07-29 13:24:21 +02:00
NatureFreshMilk
b60bc6328f particles, on_blast(), luacheckrc 2019-07-29 13:13:46 +02:00
Thomas Rudin
a4771ba1b5 damage radius = 1 2018-11-16 11:19:44 +01:00
Thomas Rudin
f633baffe1 cable entry overlay 2018-11-16 08:35:51 +01:00
Thomas Rudin
02817519b7 remove inv image 2018-11-16 08:34:31 +01:00
Thomas Rudin
21c908792c only shoot in warzone 2018-11-16 08:05:42 +01:00
Thomas Rudin
2ceaa9857e item drop 2018-11-15 14:40:14 +01:00
Thomas Rudin
686055a682 register with definition 2018-11-15 14:15:10 +01:00
Thomas Rudin
538c2cf718 damage entities 2018-04-24 13:54:36 +02:00
Thomas Rudin
9656bc79db animations along path 2018-04-24 13:42:55 +02:00
Thomas Rudin
b33fd0cb5e use up mese crystals 2018-04-24 11:34:07 +02:00
Thomas Rudin
bb1e1a44ef allow firing with formspec 2018-04-24 11:24:41 +02:00
Thomas Rudin
24f8bf7079 red/green/yellow cannon 2018-04-24 09:37:53 +02:00
Thomas Rudin
3ea7027a44 new textures 2018-04-24 09:18:58 +02:00
Thomas Rudin
21a75720d0 working cannon 2018-04-24 08:55:09 +02:00
Thomas Rudin
51bf04ef14 facedir param2 2018-04-23 16:20:11 +02:00
Thomas Rudin
8d5f05acc4 fac 2018-04-23 16:18:24 +02:00
Thomas Rudin
a956b80597 working animation 2018-04-23 16:04:35 +02:00