[MIRROR] Adds some custom force strings and fixes a bug (#1700)

* Adds some custom force strings and fixes a bug

* Delete clown_items.dm.rej
This commit is contained in:
CitadelStationBot
2017-06-30 23:17:26 -05:00
committed by kevinz000
parent 259d773cec
commit 5181326d54
6 changed files with 9 additions and 1 deletions
+4 -1
View File
@@ -670,7 +670,10 @@ GLOBAL_VAR_INIT(rpg_loot_items, FALSE)
/obj/item/proc/openTip(location, control, params, user)
if(last_force_string_check != force && !force_string_override)
set_force_string()
openToolTip(user,src,params,title = name,content = "[desc]<br>[force ? "<b>Force:</b> [force_string]" : ""]",theme = "")
if(!force_string_override)
openToolTip(user,src,params,title = name,content = "[desc]<br>[force ? "<b>Force:</b> [force_string]" : ""]",theme = "")
else
openToolTip(user,src,params,title = name,content = "[desc]<br><b>Force:</b> [force_string]",theme = "")
/obj/item/MouseEntered(location, control, params)
if(in_inventory && usr.client.prefs.enable_tips)
@@ -21,6 +21,7 @@
throw_speed = 3
throw_range = 7
var/cleanspeed = 50 //slower than mop
force_string = "robust... against germs"
/obj/item/weapon/soap/nanotrasen
desc = "A Nanotrasen brand bar of soap. Smells of plasma."
@@ -185,6 +185,7 @@
var/obj/machinery/power/supermatter_shard/shard
var/balanced = 1
origin_tech = "combat=7;materials=6"
force_string = "INFINITE"
/obj/item/weapon/melee/supermatter_sword/New()
..()
+1
View File
@@ -14,6 +14,7 @@
var/mopcount = 0
var/mopcap = 5
var/mopspeed = 30
force_string = "robust... against germs"
/obj/item/weapon/mop/New()
..()
@@ -14,6 +14,7 @@
origin_tech = "combat=4;bluespace=4;plasmatech=7"
armor = list(melee = 50, bullet = 50, laser = 50, energy = 0, bomb = 50, bio = 0, rad = 0, fire = 100, acid = 100)
resistance_flags = FIRE_PROOF | ACID_PROOF
force_string = "LORD SINGULOTH HIMSELF"
/obj/item/weapon/twohanded/singularityhammer/New()
..()
@@ -25,6 +25,7 @@ GLOBAL_LIST_INIT(bibleitemstates, list("bible", "koran", "scrapbook", "bible",
item_state = "bible"
var/mob/affecting = null
var/deity_name = "Christ"
force_string = "holy"
/obj/item/weapon/storage/book/bible/suicide_act(mob/user)
user.visible_message("<span class='suicide'>[user] is offering [user.p_them()]self to [deity_name]! It looks like [user.p_theyre()] trying to commit suicide!</span>")