About 1/6th done of MC base code

This commit is contained in:
Fermi
2019-05-03 03:02:37 +01:00
parent f92995bc13
commit bca578ab2c
4 changed files with 619 additions and 5 deletions
@@ -1,3 +1,21 @@
/datum/mood_event/eigenstate
mood_change = -1
description = "<span class='warning'>Where the hell am I? Is this an alternative dimension ?</span>\n"
/datum/mood_event/enthrall
mood_change = 2
description = "<span class='warning'>I am a good pet for master.</span>\n"
/datum/mood_event/enthrallpraise
mood_change = 5
description = "<span class='warning'>Master praised me!!</span>\n"
timeout = 1200
/datum/mood_event/enthrallscold
mood_change = -5
description = "<span class='warning'>I have let master down.</span>\n"//aaa I'm not kinky enough for this
timeout = 1200
/datum/mood_event/enthrallmissing1
mood_change = -5
description = "<span class='warning'></span>\n"
@@ -154,7 +154,8 @@
id = "enthral"
var/mob/living/E //E for enchanter
//var/mob/living/V = list() //V for victims
var/resistance = 0
var/enthralTally = 10
var/resistanceTally = 0
var/phase = 0
var/enthralID
@@ -168,16 +169,16 @@
if(0)
return
if(1)
/datum/status_effect/chem/enthral/proc/owner_resist(mob/living/carbon/M)
to_chat(owner, "You attempt to shake the mental cobwebs from your mind!")
if (M.canbearoused)
resistance += ((100 - M.arousalloss/100)/100)
resistance *= ((100 - M.arousalloss/100)/100)
else
resistance += 0.2
resistance *= 0.2
/*
/datum/status_effect/chem/OwO
@@ -739,12 +739,13 @@ IMPORTANT FACTORS TO CONSIDER WHILE BALANCING
/datum/reagent/fermi/enthral/on_mob_life(mob/living/carbon/M)
if(!creatorID)
CRASH("Something went wrong in enthral creation")
if(M.ID == creatorID)
else if(M.ID == creatorID)
var/obj/item/organ/tongue/T = M.getorganslot(ORGAN_SLOT_TONGUE)
var/obj/item/organ/tongue/nT = new /obj/item/organ/tongue/silver
T.Remove(M)
nT.Insert(M)
qdel(T)
else
//Requires player to be within vicinity of creator
//bonuses to mood