Skip to content

Commit

Permalink
Fixed counter of escaped cultists.
Browse files Browse the repository at this point in the history
Added kilt, bowler and, specially for Gregory House, the walking stick.
Also changed monocle sprite.

Kilt belongs to Catratcat, other stuff belongs to Farart.

Fixed some runtime errors.

git-svn-id: http://tgstation13.googlecode.com/svn/trunk@1809 316c924e-a436-60f5-8080-3fe189b3f50e
  • Loading branch information
rastaf.zero@gmail.com committed Jul 9, 2011
1 parent a38101d commit 2049648
Show file tree
Hide file tree
Showing 16 changed files with 60 additions and 27 deletions.
3 changes: 1 addition & 2 deletions code/WorkInProgress/Chemistry-Tools.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1765,8 +1765,7 @@
flags = FPRINT | CONDUCT | TABLEPASS | OPENCONTAINER

/obj/item/weapon/reagent_containers/food/drinks/golden_cup/tournament_26_06_2011
name = "The Quinn Tei's golden cup"
desc = "The graving says: Quinn Tei is the glorious winner of Animus Station Tournament. His gun is loud, his mop is fast, his oxygentank is devastating!"
desc = "A golden cup. It will be presented to a winner of tournament 26 june and name of the winner will be graved on it."

//Syringes
/obj/item/weapon/reagent_containers/syringe/robot
Expand Down
14 changes: 14 additions & 0 deletions code/defines/obj/clothing/gimmick.dm
Original file line number Diff line number Diff line change
Expand Up @@ -351,3 +351,17 @@
color = "luigi"
*/

/obj/item/clothing/under/kilt
name = "kilt"
desc = "Includes shoes and plaid"
icon_state = "kilt"
item_state = "kilt"
color = "kilt"
body_parts_covered = UPPER_TORSO|LOWER_TORSO|FEET

/obj/item/clothing/head/bowler
name = "bowler-hat"
desc = "Gentleman, elite aboard!"
icon_state = "bowler"
item_state = "bowler"
flags = FPRINT | TABLEPASS | HEADSPACE
14 changes: 14 additions & 0 deletions code/defines/obj/weapon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,20 @@ Total SMES charging rate should not exceed total power generation rate, or an ov
w_class = 2.0
flags = FPRINT | TABLEPASS | NOSHIELD


/obj/item/weapon/staff/stick
name = "stick"
desc = "A great tool to drag someone else's drinks across the bar."
icon = 'weapons.dmi'
icon_state = "stick"
item_state = "stick"
force = 3.0
throwforce = 5.0
throw_speed = 1
throw_range = 5
w_class = 2.0
flags = FPRINT | TABLEPASS | NOSHIELD

/obj/item/weapon/table_parts
name = "table parts"
desc = "Parts of a table. Poor table."
Expand Down
10 changes: 6 additions & 4 deletions code/game/gamemodes/cult/cult.dm
Original file line number Diff line number Diff line change
Expand Up @@ -255,10 +255,12 @@ var/list/allwords = list("travel","self","see","hell","blood","join","tech","des
return cult_fail //if any objectives aren't met, failure

/datum/game_mode/cult/proc/check_survive()
var/area/shuttle = locate(/area/shuttle/escape/centcom)
for(var/mob/living/carbon/human/C in shuttle)
if(C.stat!=2 && cult.Find(C.mind))
acolytes_survived++
acolytes_survived = 0
for(var/datum/mind/cult_mind in cult)
if (cult_mind.current && cult_mind.current.stat!=2)
var/area/A = get_area(cult_mind.current )
if ( is_type_in_list(A, centcom_areas))
acolytes_survived++
if(acolytes_survived>=acolytes_needed)
return 0
else
Expand Down
2 changes: 2 additions & 0 deletions code/game/gamemodes/wizard/spells.dm
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@
A.layer = 4
var/i
for(i=0, i<20, i++)
if (!istype(M)) //it happens sometimes --rastaf0
break
var/obj/overlay/B = new /obj/overlay( A.loc )
B.icon_state = "magicmd"
B.icon = 'wizard.dmi'
Expand Down
3 changes: 2 additions & 1 deletion code/game/machinery/hydroponics.dm
Original file line number Diff line number Diff line change
Expand Up @@ -866,7 +866,8 @@ obj/machinery/hydroponics/attackby(var/obj/item/O as obj, var/mob/user as mob)

for(var/datum/reagent/blood/bloodSample in W:reagents.reagent_list)
var/mob/living/carbon/human/source = bloodSample.data["donor"] //hacky, since it gets the CURRENT condition of the mob, not how it was when the blood sample was taken

if (!istype(source))
continue
//ui = bloodSample.data["blood_dna"] doesn't work for whatever reason
ui = source.dna.uni_identity
se = source.dna.struc_enzymes
Expand Down
41 changes: 21 additions & 20 deletions code/game/objects/items/item.dm
Original file line number Diff line number Diff line change
Expand Up @@ -232,29 +232,30 @@

if(power >= 3)
var/mob/living/carbon/metroid/Metroid = M
if(istype(Metroid, /mob/living/carbon/metroid/adult))
if(prob(5 + round(power/2)))
Metroid.Victim = null
Metroid.anchored = 0
spawn(0)
Metroid.canmove = 0
step_away(Metroid, user)
if(prob(25 + power*2))
sleep(2)
if (istype(M))
if(istype(Metroid, /mob/living/carbon/metroid/adult))
if(prob(5 + round(power/2)))
Metroid.Victim = null
Metroid.anchored = 0
spawn(0)
Metroid.canmove = 0
step_away(Metroid, user)
Metroid.canmove = 1
if(prob(25 + power*2))
sleep(2)
step_away(Metroid, user)
Metroid.canmove = 1

else
if(prob(10 + power*2))
Metroid.Victim = null
Metroid.anchored = 0
spawn(0)
step_away(Metroid, user)
Metroid.canmove = 0
if(prob(25 + power*4))
sleep(2)
else
if(prob(10 + power*2))
Metroid.Victim = null
Metroid.anchored = 0
spawn(0)
step_away(Metroid, user)
Metroid.canmove = 1
Metroid.canmove = 0
if(prob(25 + power*4))
sleep(2)
step_away(Metroid, user)
Metroid.canmove = 1



Expand Down
Binary file modified icons/mob/eyes.dmi
Binary file not shown.
Binary file modified icons/mob/head.dmi
Binary file not shown.
Binary file modified icons/mob/items_lefthand.dmi
Binary file not shown.
Binary file modified icons/mob/items_righthand.dmi
Binary file not shown.
Binary file modified icons/mob/uniform.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/glasses.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/hats.dmi
Binary file not shown.
Binary file modified icons/obj/clothing/uniforms.dmi
Binary file not shown.
Binary file modified icons/obj/weapons.dmi
Binary file not shown.

0 comments on commit 2049648

Please sign in to comment.