Commit graph

53 commits

Author SHA1 Message Date
cora
21f3782439 Fix lightning on_strike api + rename to on_lightning_strike 2022-11-05 01:16:27 +01:00
cora
e80e44612c Add lightning rod 2022-10-14 17:32:31 +00:00
cora
7b1d5501c1 lightning: allow change of strike position in callback 2022-10-14 17:32:31 +00:00
3raven
1d64a7bdad Mise à jour de 'mods/ENVIRONMENT/lightning/locale/lightning.fr.tr' 2022-08-23 15:15:41 +00:00
3raven
541501fd70 Complete translation 2022-08-23 03:22:51 +00:00
opfromthestart
e9954d1785 Merge branch 'master' into new_sky 2022-08-08 18:00:03 +00:00
opfromthestart
866711a4aa Changed to new get_sky method 2022-08-07 18:19:12 -04:00
iliekprogrammar
bce4d29737
[5.6][lightning] fix unsafe entitiy handling
this does not excuse all on_strike callbacks to allow oversights.
it must also track entity removal.
2022-08-07 10:44:13 +08:00
iliekprogrammar
221ee0fcf1
[5.6] mark places with unsafe set_hp entity handling
There might be other places i might be missing, but these are the obvious ones.

leftover entity handling i did not mark:
* everything that involves a apply()-like algorithm (e.g. callbacks) over the
  same list of objects.
* in mcl_damage, it's not known whether mcl_damage.from_mt() would involve
  entity handling or just player handling.
2022-08-07 00:13:03 +08:00
Johannes Fritz
a455e7bb8e Lightning command: Strike player by name 2022-06-16 13:43:44 -05:00
Emojigit
fe3e80bc0e lightning 2022-02-23 23:58:05 +01:00
NO11
c757e98b4f Fix #1911, error in lightning callback 2021-11-17 00:37:11 +01:00
NO11
0584d16569 add lightning API support for mobs 2021-10-05 04:15:48 +00:00
NO11
03829dd518 fix typo 2021-10-05 04:15:48 +00:00
NO11
72ea9069bd correct lightning API.md a bit 2021-10-05 04:15:48 +00:00
NO11
9188467a6a add API.md for lightning mod 2021-10-05 04:15:48 +00:00
NO11
463fe2af5f use mcl_util.replace_mob function to simplify lightning code 2021-10-05 04:15:48 +00:00
NO11
8e3f9d2169 add basic lightning API 2021-10-05 04:15:48 +00:00
marcin-serwin
cbe8583cef Merge branch 'master' into polish-translation 2021-06-02 10:14:25 +00:00
AFCMS
3bedc81068 fix some code style issues in lightning 2021-05-28 00:07:06 +02:00
AFCMS
b0a3cffad0 [lightning] fix warnings 2021-05-23 14:50:38 +02:00
Elias Fleckenstein
f7280dc4f0 Remove mod screenshots since they only take up space and are partly outdated 2021-05-04 20:16:30 +02:00
Marcin Serwin
87b5a7b7ad Add polish translation of lightning 2021-04-29 16:37:19 +02:00
Elias Fleckenstein
302175691a Integrate death messages 2021-04-25 16:42:38 +02:00
Elias Fleckenstein
49e7def70a Implement lightning_bolt damage reason 2021-04-14 18:40:41 +02:00
AFCMS
9eda34b0ff performance improvement in lightning
cache global functions used in globalstep
2021-03-15 00:12:59 +01:00
Elias Fleckenstein
d57db0444f Use mod.conf in all mods, part 1 2021-03-04 15:22:14 +01:00
epCode
903a29f949 Add charged creeper 2021-02-12 16:48:46 -08:00
Wuzzy
30b915b5c2 Fix lightning being heard globally 2020-12-03 13:03:27 +01:00
kay27
ba51686e6c Russian translation 2020-07-20 00:11:13 +00:00
Rocher Laurent
4957bd1118 Translate In French 2020-05-03 22:39:07 +02:00
Wuzzy
c5e4ec5e27 Use ephemeral sounds 2020-04-07 00:55:45 +02:00
Wuzzy
988ca6ffe7 Interpret many damage sources as punches 2020-02-17 18:37:23 +01:00
wuniversales
15481cb24d Add Spanish translation 2020-02-04 21:43:50 +01:00
Wuzzy
c6e671376d Make lightning glow in the dark 2019-03-26 12:24:30 +01:00
Wuzzy
63d630a208 German translation: environment 2019-03-14 00:32:22 +01:00
Wuzzy
5aeb4aea74 Add translation templates for most mods
Using the findtext.lua script
2019-03-13 23:40:59 +01:00
Wuzzy
db8d7af245 Fix lightning dealing way too much damage 2019-03-08 19:09:40 +01:00
Wuzzy
d691490016 New translation system, part 2: Environment, help 2019-03-07 21:36:00 +01:00
Wuzzy
2f74aea6f5 Replace deprecated functions 2019-03-06 04:38:57 +01:00
Wuzzy
93c087997f Add /lightning command 2019-02-21 03:36:02 +01:00
Wuzzy
31668cdde5 Add brown mooshroom 2019-02-21 02:38:33 +01:00
Wuzzy
e789801662 Replace getpos() with get_pos() 2019-02-01 06:33:07 +01:00
Wuzzy
e051eae5bc Lightning no longer turns villagers to witches
Because witches are incomplete.
Also add villager TODOs.
2018-06-10 15:27:01 +02:00
Wuzzy
6a9a00b387 Add death message if player killed by lightning 2017-12-12 23:53:54 +01:00
Wuzzy
69ade14509 Rename weather_pack mod to mcl_weather 2017-11-21 01:35:31 +01:00
Wuzzy
de6096f47a Fix pig→zombiepig lightning transform 2017-11-12 05:11:21 +01:00
Wuzzy
4f639b024d Lightnings cause damage, change pigs and villagers 2017-11-12 03:24:46 +01:00
Wuzzy
c09ca3363d Rarely spawn skeletons (+s. horse) on lightning 2017-11-12 02:48:18 +01:00
Wuzzy
cdd616f6b1 Fix lightning sky color issues 2017-02-21 15:00:16 +01:00