Compare commits
2 Commits
293822f2a9
...
3c5b6ee4bc
Author | SHA1 | Date | |
---|---|---|---|
3c5b6ee4bc | |||
b1fa8c6a75 |
@ -14,11 +14,41 @@ minetest.register_node("cops:pig_spawner", {
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"cops:pig_spawner"},
|
||||
--neighbors = {"default:water_source", "default:water_flowing"},
|
||||
interval = 30, -- Run every 10 seconds
|
||||
chance = 5, -- One node has a chance of 1 in 50 to get selected
|
||||
interval = 30,
|
||||
chance = 5,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
minetest.add_entity(pos, "cops:cop_regular_female")
|
||||
local i = math.random(0, 2)
|
||||
if i == 0 then
|
||||
minetest.add_entity(pos, "cops:cop_regular_female")
|
||||
|
||||
|
||||
elseif i == 1 then
|
||||
minetest.add_entity(pos, "cops:cop_regular_male")
|
||||
|
||||
|
||||
elseif i == 2 then
|
||||
minetest.add_entity(pos, "cops:cop_armedthug")
|
||||
end
|
||||
end})
|
||||
|
||||
minetest.register_abm({
|
||||
nodenames = {"main:bricks_stone"},
|
||||
interval = 40,
|
||||
chance = 50,
|
||||
action = function(pos, node, active_object_count, active_object_count_wider)
|
||||
newPos = {x = pos.x, y = pos.y + 2, z = pos.z}
|
||||
local i = math.random(0, 2)
|
||||
if i == 0 then
|
||||
minetest.add_entity(newPos, "cops:cop_regular_female")
|
||||
|
||||
|
||||
elseif i == 1 then
|
||||
minetest.add_entity(newPos, "cops:cop_regular_male")
|
||||
|
||||
|
||||
elseif i == 2 then
|
||||
minetest.add_entity(newPos, "cops:cop_armedthug")
|
||||
end
|
||||
end})
|
||||
|
||||
-- Cops
|
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 2.0 KiB After Width: | Height: | Size: 2.0 KiB |
Before Width: | Height: | Size: 310 B After Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 304 B After Width: | Height: | Size: 304 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 256 B After Width: | Height: | Size: 256 B |
Before Width: | Height: | Size: 712 B After Width: | Height: | Size: 712 B |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
3
mods/ip_extinguisher/mod.conf
Normal file
@ -0,0 +1,3 @@
|
||||
name = extinguisher
|
||||
description = Extinguisher mod adapted for Insane Protestor
|
||||
|
4
mods/ip_literal_trash/mod.conf
Normal file
@ -0,0 +1,4 @@
|
||||
name = literal_trash
|
||||
title = Literal Trash
|
||||
description = Adds literal trash
|
||||
|
Before Width: | Height: | Size: 108 B After Width: | Height: | Size: 108 B |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 702 B After Width: | Height: | Size: 702 B |
Before Width: | Height: | Size: 235 B After Width: | Height: | Size: 235 B |
Before Width: | Height: | Size: 191 B After Width: | Height: | Size: 191 B |
Before Width: | Height: | Size: 196 B After Width: | Height: | Size: 196 B |
Before Width: | Height: | Size: 176 B After Width: | Height: | Size: 176 B |
Before Width: | Height: | Size: 411 B After Width: | Height: | Size: 411 B |
Before Width: | Height: | Size: 253 B After Width: | Height: | Size: 253 B |
Before Width: | Height: | Size: 426 B After Width: | Height: | Size: 426 B |
Before Width: | Height: | Size: 271 B After Width: | Height: | Size: 271 B |
Before Width: | Height: | Size: 287 B After Width: | Height: | Size: 287 B |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 195 B After Width: | Height: | Size: 195 B |
Before Width: | Height: | Size: 165 B After Width: | Height: | Size: 165 B |
Before Width: | Height: | Size: 117 B After Width: | Height: | Size: 117 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 164 B After Width: | Height: | Size: 164 B |
Before Width: | Height: | Size: 166 B After Width: | Height: | Size: 166 B |
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 2.3 KiB After Width: | Height: | Size: 2.3 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 3.0 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |