Initial beach-language commit

This commit is contained in:
Food
2017-05-21 21:49:32 -04:00
parent 98aa307e0c
commit e961199fdb
8 changed files with 58 additions and 0 deletions

View File

@@ -23,6 +23,7 @@
#define WACKY "Wacky" #define WACKY "Wacky"
#define MUT_MUTE "Mute" #define MUT_MUTE "Mute"
#define SMILE "Smile" #define SMILE "Smile"
#define STONER "Stoner"
#define UNINTELLIGABLE "Unintelligable" #define UNINTELLIGABLE "Unintelligable"
#define SWEDISH "Swedish" #define SWEDISH "Swedish"
#define CHAV "Chav" #define CHAV "Chav"

View File

@@ -608,6 +608,23 @@ GLOBAL_LIST_EMPTY(mutations_list)
message = replacetext(message," muh valids "," getting my kicks ") message = replacetext(message," muh valids "," getting my kicks ")
return trim(message) return trim(message)
/datum/mutation/human/stoner
name = "Stoner"
quality = NEGATIVE
dna_block = NON_SCANNABLE
text_gain_indication = "<span class='notice'>You feel...totally chill, man!</span>"
text_lose_indication = "<span class='notice'>You feel like you have a better sense of time.</span>"
/datum/mutation/human/stoner/on_acquiring(mob/living/carbon/human/owner)
..()
owner.grant_language(/datum/language/beachbum)
owner.remove_language(/datum/language/common)
/datum/mutation/human/stoner/on_losing(mob/living/carbon/human/owner)
..()
owner.grant_language(/datum/language/common)
owner.remove_language(/datum/language/beachbum)
/datum/mutation/human/laser_eyes /datum/mutation/human/laser_eyes
name = "Laser Eyes" name = "Laser Eyes"
quality = POSITIVE quality = POSITIVE

View File

@@ -377,6 +377,10 @@
icon_state = "sleeper" icon_state = "sleeper"
flavour_text = "You are a beach bum!" flavour_text = "You are a beach bum!"
/obj/effect/mob_spawn/human/beach/equip(mob/living/carbon/human/H)
..()
H.dna.add_mutation(STONER)
/////////////////Officers+Nanotrasen Security////////////////////// /////////////////Officers+Nanotrasen Security//////////////////////
/obj/effect/mob_spawn/human/bridgeofficer /obj/effect/mob_spawn/human/bridgeofficer

View File

@@ -0,0 +1,21 @@
/datum/language/beachbum
name = "Beach Bumbian"
desc = "For when you're too toasted to speak normally."
speech_verb = "mumbles"
ask_verb = "grills"
exclaim_verb = "hollers"
key = "u"
space_chance = 80
default_priority = 1000 //Haha!
syllables = list("cowabunga", "rad", "radical", "dude", "bogus",
"dee", "dah", "woah", "surf", "blazed", "high",
"brah", "bro", "blown", "catch", "body", "beach",
"shiz", "phiz", "wizz", "pop", "chill", "awesome",
"wax", "soup", "glassy", "ding", "cruncher", "toke",
"cool", "hoo", "wah", "wee", "man", "maaaaaan", "mate",
"oh", "ocean", "up", "out", "rip", "slide", "big",
"weed", "pot", "smoke", "four-twenty", "shove", "wacky",
"sick", "slash", "spit", "stoked", "shallow", "gun",
"tail", "trim", "tube", "wobble", "roll", "gnarly")
icon_state = "beach"

View File

@@ -20,3 +20,16 @@
. = ..() . = ..()
if(.) if(.)
update_hair() update_hair()
/mob/living/carbon/human/set_drugginess(amount)
..()
if(!amount)
remove_language(/datum/language/beachbum)
/mob/living/carbon/human/adjust_drugginess(amount)
..()
if(!dna.check_mutation(STONER))
if(druggy)
grant_language(/datum/language/beachbum)
else
remove_language(/datum/language/beachbum)

View File

@@ -17,6 +17,7 @@
/datum/language/codespeak, /datum/language/codespeak,
/datum/language/monkey, /datum/language/monkey,
/datum/language/narsie, /datum/language/narsie,
/datum/language/beachbum,
/datum/language/ratvar /datum/language/ratvar
)) ))

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 2.3 KiB

View File

@@ -1390,6 +1390,7 @@
#include "code\modules\jobs\job_types\security.dm" #include "code\modules\jobs\job_types\security.dm"
#include "code\modules\jobs\job_types\silicon.dm" #include "code\modules\jobs\job_types\silicon.dm"
#include "code\modules\jobs\map_changes\map_changes.dm" #include "code\modules\jobs\map_changes\map_changes.dm"
#include "code\modules\language\beachbum.dm"
#include "code\modules\language\codespeak.dm" #include "code\modules\language\codespeak.dm"
#include "code\modules\language\common.dm" #include "code\modules\language\common.dm"
#include "code\modules\language\draconic.dm" #include "code\modules\language\draconic.dm"