Commit Graph

272 Commits

Author SHA1 Message Date
cora
624092ddd3 Search the area before giving up when no mobs in table left
otherwise it will advance stages prematurely
2022-11-26 17:06:04 +01:00
cora
87d5cdc439 Make raid end firework last a bit longer 2022-11-26 17:06:04 +01:00
cora
c6fc388597 Add _harmless option for rocket arrows
so event fireworks dont grief things
2022-11-26 17:06:04 +01:00
cora
93e5034317 Add fireworks when raid complete 2022-11-26 17:06:04 +01:00
cora
94057aa7e5 Code cleanup 2022-11-26 17:06:04 +01:00
cora
db4f9ec5a3 Fix raid instawin when no spawnable blocks found 2022-11-26 17:06:04 +01:00
cora
057a78ed30 Fix raid registering as completed when unloading the area 2022-11-26 17:06:04 +01:00
PrairieWind
a1e21b44c8 Add code to unlock Voluntary Exile advancement 2022-11-26 17:06:04 +01:00
cora
358250012f Remove banner when not attached 2022-11-26 17:06:04 +01:00
cora
c3455de604 Clear bad omen when raid complete 2022-11-26 17:06:04 +01:00
cora
6251c623dd Give player bad omen effect when killing captain 2022-11-26 17:06:04 +01:00
cora
62fe08de59 Make illagers pick up ominous banners and promote themselves to captain 2022-11-26 17:06:04 +01:00
cora
af0c718538 Add natural raidcaptain spawning 2022-11-26 17:06:04 +01:00
cora
3600bc8066 Spawn raidcaptain in raids 2022-11-26 17:06:04 +01:00
cora
d1788b5643 Add actual banner pattern, drop banner on death 2022-11-26 17:06:04 +01:00
cora
c7cc9ccb3e Add raid captain spawn func with banner attach 2022-11-26 17:06:04 +01:00
cora
097ee8b4d4 Z sieges happen in 10% of the nights 2022-11-26 17:06:04 +01:00
cora
59d384020e Finx spawn positions in 16-radius 2022-11-26 17:06:04 +01:00
cora
1d18482103 Comment out excessive logging 2022-11-26 17:06:04 +01:00
cora
b82912f30d Add zombie sieges 2022-11-26 17:06:04 +01:00
PrairieWind
48a8511052 Make bossbars enablable/disablable per event type. Update some capitalization. 2022-11-26 17:06:04 +01:00
cora
ae90cbe3ef Set raiders on path to village after spawn 2022-11-26 17:06:04 +01:00
cora
9893dee1aa Add debug chatcommand to start events 2022-11-26 17:06:04 +01:00
cora
232f57c247 Add hero of the village achievement 2022-11-26 17:06:04 +01:00
cora
dc017864fd raids: properly integrate potions api
supports "level" now, bad omen > 1 means extra wave additionally
the playername is saved in the event object now for later access
and events can be made exclusive to a certain radius now.
2022-11-26 17:06:04 +01:00
cora
37144f8787 Check for actual raid conditions and positions 2022-11-26 17:06:04 +01:00
cora
99fce095ef fix closure style function declarations
its BANNED in CONTRIB.md
2022-11-26 17:06:04 +01:00
cora
390aec5d7a Integrate raids with mcl_events 2022-11-26 17:06:04 +01:00
PrairieWind
5dc1a3d456 Village Finder Tweaks 2022-11-26 17:06:03 +01:00
PrairieWind
1b6d778dd1 Add Village Checks 2022-11-26 17:06:03 +01:00
PrairieWind
96ac31bec3 Add Bad Omen Effect 2022-11-26 17:06:03 +01:00
PrairieAstronomer
8b6409b7f1 Add mcl_raids 2022-11-26 17:06:03 +01:00
epCode
7ed8370eb0 localize var/fix weather not changing brightness while underwater. 2022-11-15 22:36:06 +00:00
epCode
ce724ee926 make sky color change when submerged 2022-11-15 22:36:05 +00:00
MysticTempest
15542d4878 Fix player not getting damage from lightning 2022-11-05 01:16:27 +01:00
cora
fcba67b7e7 Make on_lightning_strike available to non-mob entities 2022-11-05 01:16:27 +01:00
cora
21f3782439 Fix lightning on_strike api + rename to on_lightning_strike 2022-11-05 01:16:27 +01:00
cora
e9e76d2c1e Optimize snow pile-up ABM 2022-11-03 14:11:03 +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
cora
7be8ab2c1c Send shadows to client if server supports it 2022-08-13 00:04:44 +02:00
cora
e8baa1ae00 Fix undeclared var warning in mcl_weather 2022-08-10 14:14:00 +02:00
opfromthestart
b8af222538 Fixed remaining get_sky calls 2022-08-08 20:26:31 -04: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
cora
4b5476dbff fix end sky and void crash 2022-08-02 11:55:55 +02:00
cora
a2b003a195 sky slightly overcast on weather in non-weather b. 2022-08-02 11:55:55 +02:00
cora
ee3b98c809 Fix skybox in non-weather areas 2022-08-02 11:55:55 +02:00
cora
4a6f98636d fix crash in mapgen v6 2022-08-02 11:55:55 +02:00
cora
cae11f99e4 fix wrong mapgen setting var 2022-08-02 11:55:55 +02:00
cora
bb496db605 use _mcl_biome_type for weather 2022-08-02 11:55:55 +02:00
cora
50840f6bdc No nether rain lol 2022-08-02 11:55:55 +02:00
cora
05a6f09f05 Never rain in deserts 2022-08-02 11:55:55 +02:00
cora
2aaeed7720 Pile up snow while snowing 2022-08-02 11:55:55 +02:00
cora
eb5378afec Rain and snow where appropriate(biome, heat, alt) 2022-08-02 11:55:55 +02:00
cora
a3596d22e3 Fix nether dust particles using wrong setting 2022-07-18 05:30:37 +02:00
cora
dcc7df5f02 Add setting for nether dust too
plus slightly tweak the wording for thunder setting
2022-06-20 13:31:58 +02:00
cora
30e543d4d2 Add settings to change weather particle amounts 2022-06-19 22:50:29 +02:00
cora
d9da50e292 Properly check for sound update (fix warning) 2022-06-19 22:25:50 +02:00
cora
ca27237ffc Tweak particle spawner settings 2022-06-19 22:19:46 +02:00
cora
ecf6236152 Set fog color according to nether biome 2022-06-19 00:24:56 +02:00
Johannes Fritz
a455e7bb8e Lightning command: Strike player by name 2022-06-16 13:43:44 -05:00
cora
a179a1cb62 fix indoor weather + multiplayer issue 2022-05-29 02:24:12 +02:00
Elias Fleckenstein
f6a40ffb78
Run tools/strip_trailing_whitespace.sh 2022-05-26 07:29:28 +02:00
cora
5a25e42fd3 fix the 2nd nether dust warning ^^ 2022-05-09 12:06:28 +02:00
cora
61a999fe5a Fix warning in mcl_weather 2022-05-02 21:47:33 +02:00
kay27
dc4ccf91cc lift clouds to 384 in valleys mapgen
Valleys has a much higher average elevation than v7 often leading
to "normal" looking terrain being in the clouds. This lifts the
clouds up higher.
2022-04-19 10:23:10 +00:00
cora
bb593159f1 mcl_weather: fix typo/crash 2022-04-08 06:23:14 +02:00
cora
7f1bb7af92 replace nether dust particles with p. spawners
mcl2 uses add_particle for nether dust resulting in a 10-fold
increase in network traffic when in the nether. Nether dust is not
configurable making it impossible to turn this off for server admins.
this commit replaces the add_particle method with particle spawners
2022-03-30 10:21:32 +00:00
cora
53715212a2 remove unnecessary on_dimensionchange 2022-03-30 10:21:32 +00:00
cora
c146426c5c fix snow not being properly removed 2022-03-30 10:21:32 +00:00
cora
dc24f45cfa add indoor detection for snow 2022-03-30 10:21:32 +00:00
cora
d2861c5955 remove unneccessary particle logic 2022-03-30 10:21:32 +00:00
cora
1e4494e85d let rain and thunder use particlespawners 2022-03-30 10:21:32 +00:00
cora
4eae95fa47 let snow use particlespawners 2022-03-30 10:21:32 +00:00
Emojigit
ca6469b959 mcl_weather 2022-02-23 23:58:05 +01:00
Emojigit
fe3e80bc0e lightning 2022-02-23 23:58:05 +01:00
Emojigit
551bf917e2 mcl_void_damage 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
cd33d406b2 fix many codestyle issues (functions, strings, modpaths) 2021-05-29 16:12:33 +02:00
AFCMS
5f82e76862 fix many codestyle issues 2021-05-28 00:34:58 +02:00
AFCMS
3bedc81068 fix some code style issues in lightning 2021-05-28 00:07:06 +02:00
AFCMS
49044ac15e unify codestyle [2] 2021-05-25 13:18:12 +02:00
AFCMS
b0a3cffad0 [lightning] fix warnings 2021-05-23 14:50:38 +02:00
AFCMS
9f41c6fc64 [mcl_moon] fix warnings 2021-05-23 14:48:52 +02:00
AFCMS
36dc18e9da [mcl_void_damage] fix warnings 2021-05-23 14:46:13 +02:00
AFCMS
5f8d79b37a [mcl_weather] fix warnings 2021-05-23 14:44:50 +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
9666076cb4 Add polish translation of mcl_weather 2021-04-29 16:41:28 +02:00