Fix startup runtime, remove debug from karma

This commit is contained in:
Markolie
2014-12-21 13:14:41 +01:00
parent 997a085399
commit 3e7e6ef1e6
5 changed files with 43 additions and 17 deletions
+9 -3
View File
@@ -101,9 +101,9 @@ var/list/karma_spenders = list()
if(a == src.key)
usr << "\red You've already spent your karma for the round."
return
//if(M.key == src.key)
//usr << "\red You can't spend karma on yourself!"
//return
if(M.key == src.key)
usr << "\red You can't spend karma on yourself!"
return
if(M.client.address == src.client.address)
message_admins("\red Illegal karma spending detected from [src.key] to [M.key]. Using the same IP!")
log_game("\red Illegal karma spending detected from [src.key] to [M.key]. Using the same IP!")
@@ -318,6 +318,12 @@ You've gained <b>[totalkarma]</b> total karma in your time here.<br>"}
return
/client/proc/karmarefund(var/type,var/name,var/cost)
/*if(name == "Barber")
cost = 5
else*/
usr << "\red That job is not refundable."
return
var/DBQuery/query = dbcon.NewQuery("SELECT * FROM whitelist WHERE ckey='[usr.key]'")
query.Execute()
@@ -27,9 +27,6 @@
result = "methylphenidate"
required_reagents = list("mindbreaker" = 1, "hydrogen" = 1)
result_amount = 3
/datum/chemical_reaction/methylphenidate/proc/see_in_dark()
return
/datum/reagent/antidepressant/citalopram
name = "Citalopram"
+2 -2
View File
@@ -4,8 +4,8 @@ datum
var/name = null
var/id = null
var/result = null
var/list/required_reagents = new/list()
var/list/required_catalysts = new/list()
var/list/required_reagents = list()
var/list/required_catalysts = list()
// Both of these variables are mostly going to be used with slime cores - but if you want to, you can use them for other things
var/atom/required_container = null // the container required for the reaction to happen