Po Lu d128d0889f
Implement support for multiple effects in beacons
* mods/ITEMS/mcl_beacons/init.lua (formspec_string): Delete
function.
(effect_player): Correct typo in effect names.
(appply_effects_to_all_players): Apply secondary effect if
configured.
(effect_symbols, effect_names, open_beacons): New variables.
(upgrade_effect_level_button, generate_beacon_formspec): New
functions.
(beacon) <on_rightclick>: New function.
<on_receive_fields>: Extract to apply_beacon_formspec.
(upgrade_new_data): New LBM.  Migrate legacy effect and/or
levels to secondary_effect if applicable.
(apply_beacon_formspec): New function.
2024-09-02 14:36:04 +02:00
..