mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-20 19:43:13 +01:00
Schlorrgo Egg Nerfs (#21122)
- Schlorrgo egg making chance reduced from 4% to 1% - Schlorrgos now have a max amount of eggs they can produce. With total max of 40 (and realistic max of 10-20 considering how hard it is to 'max' fat a schlorrgo) Co-authored-by: Ben10083 <Ben10083@users.noreply.github.com>
This commit is contained in:
@@ -56,6 +56,8 @@
|
||||
|
||||
/// How many eggs the Schlorrgo is able to lay
|
||||
var/eggs_left = 0
|
||||
/// How many eggs the Schlorrgo has made. When it reaches max, schlorrgo will stop producing eggs.
|
||||
var/eggs_total = 0
|
||||
/// Bigger Schlorrgos can lay more eggs. Starts to increase after schlorrgo becomes fat. When set to 0, Schlorrgo will never lay eggs
|
||||
var/max_eggs = 0
|
||||
|
||||
@@ -126,8 +128,9 @@
|
||||
|
||||
/mob/living/simple_animal/schlorrgo/process_food()
|
||||
..()
|
||||
if(prob(4) && eggs_left < max_eggs && current_size >= FAT_SCHLORRGO) // Change to add egg when fat
|
||||
if(prob(1) && eggs_total < max_eggs && current_size >= FAT_SCHLORRGO)
|
||||
eggs_left += 1 // only +1 since this can proc often
|
||||
eggs_total += 1
|
||||
check_wideness_change()
|
||||
|
||||
/mob/living/simple_animal/schlorrgo/proc/check_wideness_change()
|
||||
@@ -186,7 +189,7 @@
|
||||
icon_living = "schlorrgo_fat"
|
||||
icon_dead = "schlorrgo_fat_dead"
|
||||
holder_type = /obj/item/holder/schlorrgo/fat
|
||||
max_eggs = 3
|
||||
max_eggs = 10
|
||||
|
||||
if(FAT_SCHLORRGO)
|
||||
if(!named)
|
||||
@@ -214,7 +217,7 @@
|
||||
a_intent = I_HURT
|
||||
emote_sounds = list('sound/effects/creatures/schlorrgo_scream.ogg')
|
||||
holder_type = null
|
||||
max_eggs = 6
|
||||
max_eggs = 20
|
||||
|
||||
if(WIDE_SCHLORRGO)
|
||||
if(!named)
|
||||
@@ -247,7 +250,7 @@
|
||||
a_intent = I_HURT
|
||||
emote_sounds = list('sound/effects/creatures/schlorrgo_scream.ogg')
|
||||
holder_type = null
|
||||
max_eggs = 9
|
||||
max_eggs = 40
|
||||
|
||||
update_icon()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user