38 lines
942 B
Plaintext
38 lines
942 B
Plaintext
|
|
Per ogni bomba bisogna definire:
|
|
- nome
|
|
- descrizione
|
|
- def con:
|
|
Necessari:
|
|
-> textures (usata sia per l'inventario che per la bomba stessa)
|
|
-> ricetta / recipe_block (ricetta di default)
|
|
-> hit_node(self, pos) / explosion = {
|
|
shape = "cube",
|
|
radius = 2,
|
|
block = "default:ice",
|
|
particles = false,
|
|
},
|
|
Aggiuntivi:
|
|
-> velocity
|
|
-> recipe_number
|
|
|
|
|
|
Bombe presenti:
|
|
mobs_examples.lua:
|
|
- stone_wall_bomb
|
|
- Cubic Ice Shell bomb
|
|
- Fire circle
|
|
- Lava pool
|
|
- schematic bomb
|
|
|
|
Nssm_weapons:
|
|
- cobweb_bomb
|
|
- cubic mantis clay shell bomb
|
|
-
|
|
|
|
nssbombs:register_throwitem("nssm:", "", {
|
|
textures = "",
|
|
recipe_number = ,
|
|
recipe = ,
|
|
})
|