Compare commits

...

10 Commits

Author SHA1 Message Date
e9061cbc5d Zaktualizuj 'mods/shit_poop/init.lua' 2022-12-05 09:44:54 +00:00
041dfe138a Update README.MD 2022-11-29 23:12:41 -05:00
22bdfba03e Revert "cool"
This reverts commit 2c55301e7e.
2022-11-29 23:10:33 -05:00
2c55301e7e cool 2022-11-29 23:06:59 -05:00
4ae451d15e New map and more 2022-11-22 16:07:09 -05:00
346e410cfd Fixed merge conflicts and made shit a falling node 2022-11-22 15:02:55 -05:00
f5f3af44e4 removed reference to default 2022-11-22 14:56:59 -05:00
ad7931a469 Add a transparent node 2022-11-22 14:44:44 -05:00
59562a6a9c Minor changes to robocops 2022-11-22 14:22:18 -05:00
f607a3c454 Changes to cops 2022-11-22 13:57:14 -05:00
10 changed files with 31 additions and 11 deletions

View File

@@ -2,4 +2,4 @@
* Dumb MineTest game made for the MineTest Game Jam 2022 made in less than 1 day on the last day of the jam
* Made by : kacperks, Looki2000, and Kacperek; with the help of Migdyn from MCL Software (XtreemSoft Ltd)
* Made by : kacperks, Looki2000, and Kacperek; with the help of Migdyn from MCL Software

View File

@@ -29,7 +29,7 @@ end
minetest.register_item(":", { -- Hand
type = "none",
wield_image = "Poop.png",
wield_scale = {x=.1,y=2,z=1.5},
wield_scale = {x=.3,y=2,z=2.5},
range = 5,
tool_capabilities = {
max_drop_level = 0,
@@ -72,7 +72,7 @@ storyText[0] = "Click next to continue. Do NOT close the formspec by pressing th
storyText[1] = "Welcome to the state-of-the-art Shitting Simulator! A very advanced, educational, and culturally significant Minetest Game!"
storyText[2] = "So the story is simple: You've eaten so many pickles and beans and drank so much milk that your rectum will burst if you don't take a shit in the next two minutes."
storyText[3] = "You accidently use your flux capacitor and travel in time to the far future, where you find yourself in a city where you are shitting all over the place."
storyText[4] = "You have to run from the robocops and pack 100 pieces of shit into boxes! Good luck!"
storyText[4] = "You have to run from the robocops and pack 200 pieces of shit into boxes! Good luck!"
function getStoryFormspec(number)
storyFormspec =
@@ -275,7 +275,7 @@ minetest.register_node("poop:floor", {
minetest.register_node("poop:Poop", {
description = "Just Shit",
tiles = {"Poop.png"},
drop = 'poop:PoopItem', groups = {cracky=3, stone=1},
drop = 'poop:PoopItem', groups = {falling_node = 1, cracky=3, stone=1},
})
minetest.register_node("poop:tv", {
@@ -342,10 +342,10 @@ minetest.register_node("poop:glass", {
drop = 'poop:glass', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:Poop2", {
description = "Poop with more density",
description = "Diarrhea",
tiles = {"sraka.png"},
drop = 'poop:Poop', groups = {cracky=3, stone=1},
drop = 'poop:Poop', groups = {falling_node = 1, cracky=3, stone=1},
})
minetest.register_node("poop:glowing_block", {
@@ -362,6 +362,16 @@ minetest.register_node("poop:flux_capacitor", {
drop = 'poop:Poop', groups = {cracky=3, stone=1},
})
minetest.register_node("poop:transparent", {
description = "Transparent",
drawtype = "glasslike",
tiles = {"transparent.png"},
paramtype = "light",
is_ground_content = false,
sunlight_propagates = true,
groups = {cracky=3,oddly_breakable_by_hand=3},
})
minetest.register_alias("mapgen_stone", "poop:floor")
local pooped_things = 0
@@ -446,15 +456,19 @@ minetest.register_craftitem("poop:pooper", {
local node = minetest.get_node(pointed_thing.above)
if node.name == "air" then
minetest.add_node(pointed_thing.above, {name="poop:Poop"})
minetest.check_for_falling(pointed_thing.above)
else
minetest.add_node(pointed_thing.under, {name="poop:Poop"})
minetest.check_for_falling(pointed_thing.under)
end
else
local node = minetest.get_node(pointed_thing.above)
if node.name == "air" then
minetest.add_node(pointed_thing.above, {name="poop:Poop2"})
minetest.check_for_falling(pointed_thing.above)
else
minetest.add_node(pointed_thing.under, {name="poop:Poop2"})
minetest.check_for_falling(pointed_thing.under)
end
end
sraj_dzwiek()

Binary file not shown.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 712 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 768 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 163 B

View File

@@ -1,9 +1,15 @@
local numberOfCops = 0
minetest.register_abm({
nodenames = {"poop:grey_bricks"},
interval = 30,
chance = 200,
interval = 20,
chance = 300,
action = function(pos, node, active_object_count, active_object_count_wider)
if numberOfCops < 50 then
minetest.add_entity({x = pos.x, y = pos.y + 1, z = pos.z}, "robocops:robocop")
numberOfCops = numberOfCops + 1
end
end
})
@@ -32,8 +38,8 @@ mobs:register_mob("robocops:robocop", {
makes_footstep_sound = true,
walk_velocity = 4,
run_velocity = 5,
walk_velocity = 2,
run_velocity = 3,
jump_height = 1,
stepheight = 0,
floats = 0,