- Adding some new chaplain-associated variables to the gameticker /datum.

- Library computers will now universally tap into these variables and retrieve information to paste onto bibles when printing new ones. Also, they now have a one-minute cooldown when printing bibles.
- An additional start-up prompt is given to the chaplains when they start. They can now select new bible icons (which can be immediately reversed and swapped with another icon if they don't like it) that have no real effect other than aesthetics. Thank you, Kor, for making these.
- Tweaked Metroids so that they are slightly more aggressive, move slower when aggressive, and gain more nutrition from eating. They also become hungrier faster.

- Adding a "recoil" variable to guns. No current guns use it yet, but if they did (through edit-variable) it would cause a player's screen to shake whenever they successfully fire a shot. Potential use for projectile firearms, especially shotguns.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@2058 316c924e-a436-60f5-8080-3fe189b3f50e
This commit is contained in:
vageyenaman@gmail.com
2011-08-28 22:15:00 +00:00
parent 92da7d50e1
commit e2fee5fd71
10 changed files with 125 additions and 14 deletions
+8 -12
View File
@@ -87,7 +87,7 @@
var/starving = 0 // determines if the metroid is starving-hungry
if(istype(src, /mob/living/carbon/metroid/adult))
switch(nutrition)
if(400 to 800) hungry = 1
if(400 to 900) hungry = 1
if(0 to 399)
starving = 1
@@ -135,8 +135,6 @@
if(tame && istype(C, /mob/living/carbon/human))
notarget = 1
if(!notarget) targets += C
for(var/mob/living/silicon/C in view(12,src))
@@ -177,16 +175,14 @@
break
else
Target = pick(targets)
Target = targets[1]
else
Target = pick(targets)
Target = targets[1] // closest target
if(targets.len > 0)
if(attacked > 0 || rabid)
Target = targets[1] // should be the closest target
Target = targets[1]
if(!Target)
@@ -306,7 +302,7 @@
var/sleeptime = movement_delay()
if(sleeptime <= 0) sleeptime = 1
sleep(sleeptime + 1) // this is about as fast as a player Metroid can go
sleep(sleeptime + 2) // this is about as fast as a player Metroid can go
AIproc = 0
@@ -481,9 +477,9 @@
handle_nutrition()
if(prob(30))
if(istype(src, /mob/living/carbon/metroid/adult)) nutrition-=rand(4,7)
else nutrition-=rand(1,4)
if(prob(40))
if(istype(src, /mob/living/carbon/metroid/adult)) nutrition-=rand(6,10)
else nutrition-=rand(4,9)
if(nutrition <= 0)
nutrition = 0