makes dirt making a toggle

This commit is contained in:
kcin2001
2019-10-11 18:37:21 -07:00
parent cc295f5779
commit 893767119e
7 changed files with 14 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
/mob/living //for defining variables which all living mobs needs for various reasons
var/entangle_immunity = 0
var/create_dirt = 1
/mob/living/New()
..()
@@ -37,6 +37,7 @@
icon_living = "parrot_fly"
icon_dead = "parrot_dead"
intelligence_level = SA_ANIMAL
create_dirt = 0
turns_per_move = 5
pass_flags = PASSTABLE
@@ -6,6 +6,7 @@
icon_state = "grey baby slime"
icon_living = "grey baby slime"
icon_dead = "grey baby slime dead"
create_dirt = 0
maxHealth = 100
health = 100
@@ -10,6 +10,7 @@
var/glows = FALSE // If true, will glow in the same color as the color var.
var/icon_state_override = null // Used for special slime appearances like the rainbow slime.
pass_flags = PASSTABLE
create_dirt = 0
speak_emote = list("chirps")
@@ -18,6 +18,7 @@ TODO: Make them light up and heat the air when exposed to oxygen.
icon_state = "gaslamp"
icon_living = "gaslamp"
icon_dead = "gaslamp-dead"
create_dirt = 0
faction = "virgo3b"
maxHealth = 100
@@ -24,6 +24,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
response_harm = "hits"
harm_intent_damage = 5
isEdible = 0 //They cannot be eaten while alive.
create_dirt = 0
var/canEvolve = 1 //A variable for admins to turn off and on for when they like assign a player as a mob. I want to add a verb so that they can do it on command when the conditions are right in the future.
var/obj/machinery/atmospherics/unary/vent_pump/entry_vent //Graciously stolen from spider code
@@ -129,7 +130,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
"energy" = -50,
"bomb" = 70,
"bio" = 100,
"rad" = 100)
"rad" = 100)
vore_active = 1
vore_bump_chance = 0
vore_capacity = 3
@@ -159,7 +160,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
var/obj/belly/B = vore_selected
B.digest_burn = 1
B.digest_brute = 0
/mob/living/simple_animal/hostile/metroid/mine/death()
playsound(src, 'sound/effects/metroiddeath.ogg', 50, 1)
@@ -518,6 +519,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
gender = NEUTER
faction = "metroids"
move_to_delay = 4
create_dirt = 1
move_shoot = 1 //Move and shoot at the same time.
ranged_cooldown = 0 //What the starting cooldown is on ranged attacks
@@ -619,6 +621,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
rapid = 0 // Three-round-burst fire mode
projectiletype = /obj/item/projectile/beam/smalllaser // The projectiles I shoot
projectilesound = 'sound/weapons/Flamer.ogg' // The sound I make when I do it
create_dirt = 1
//Unaffected by atmos.
minbodytemp = 0
@@ -712,6 +715,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
rapid = 1 // Three-round-burst fire mode
projectiletype = /obj/item/projectile/energy/metroidacid // The projectiles I shoot
projectilesound = 'sound/weapons/slashmiss.ogg' // The sound I make when I do it
create_dirt = 1
//Unaffected by atmos.
minbodytemp = 0
@@ -875,7 +879,7 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
/mob/living/simple_animal/hostile/metroid/evolution/proc/handle_idle()
//Do we have a vent ? Good, let's take a look
for(entry_vent in view(1, src))
if(prob(99)) //1% chance to consider a vent, to try and avoid constant vent switching
return
@@ -1279,4 +1283,3 @@ var/global/list/queen_amount = 0 //We only gonna want 1 queen in the world.
if(target_mob.stat == DEAD)
return 1 // Melee (eat) the target if dead, don't shoot it.
return ..()