mirror of
https://github.com/SPLURT-Station/S.P.L.U.R.T-Station-13.git
synced 2025-12-10 09:54:52 +00:00
Adds a French beret! HONH HONH HONH! (#37457)
This is very similar to the Italian Moustache, but it's a beret. This will be part of a series of language items. Happy to entertain suggestions as to whether it should be a roundstart item or randomly scattered about maint/cargo crate restricted. In the spirit of atomizing PRs, this one will just be for the French Beret. Ready for merge.
This commit is contained in:
@@ -322,3 +322,26 @@
|
||||
desc = "Lavish space tomb not included."
|
||||
icon_state = "nemes_headdress"
|
||||
icon_state = "nemes_headdress"
|
||||
|
||||
/obj/item/clothing/head/frenchberet
|
||||
name = "french beret"
|
||||
desc = "A quality beret, infused with the aroma of chain-smoking, wine-swilling Parisians. You feel less inclined to engage military conflict, for some reason."
|
||||
icon_state = "beretblack"
|
||||
|
||||
/obj/item/clothing/head/frenchberet/speechModification(M)
|
||||
if(copytext(M, 1, 2) != "*")
|
||||
M = " [M]"
|
||||
var/list/french_words = strings("french_replacement.json", "french")
|
||||
|
||||
for(var/key in french_words)
|
||||
var/value = french_words[key]
|
||||
if(islist(value))
|
||||
value = pick(value)
|
||||
|
||||
M = replacetextEx(M, " [uppertext(key)]", " [uppertext(value)]")
|
||||
M = replacetextEx(M, " [capitalize(key)]", " [capitalize(value)]")
|
||||
M = replacetextEx(M, " [key]", " [value]")
|
||||
|
||||
if(prob(3))
|
||||
M += pick(" Honh honh honh!"," Honh!"," Zut Alors!")
|
||||
return trim(M)
|
||||
@@ -47,7 +47,7 @@
|
||||
/obj/item/clothing/mask/fakemoustache/italian/speechModification(M)
|
||||
if(copytext(M, 1, 2) != "*")
|
||||
M = " [M]"
|
||||
var/list/italian_words = strings("word_replacement.json", "italian")
|
||||
var/list/italian_words = strings("italian_replacement.json", "italian")
|
||||
|
||||
for(var/key in italian_words)
|
||||
var/value = italian_words[key]
|
||||
|
||||
@@ -91,7 +91,7 @@ Mime
|
||||
uniform = /obj/item/clothing/under/rank/mime
|
||||
mask = /obj/item/clothing/mask/gas/mime
|
||||
gloves = /obj/item/clothing/gloves/color/white
|
||||
head = /obj/item/clothing/head/beret
|
||||
head = /obj/item/clothing/head/frenchberet
|
||||
suit = /obj/item/clothing/suit/suspenders
|
||||
backpack_contents = list(/obj/item/reagent_containers/food/drinks/bottle/bottleofnothing=1)
|
||||
|
||||
|
||||
@@ -13,7 +13,8 @@
|
||||
message = T.TongueSpeech(message)
|
||||
if(wear_mask)
|
||||
message = wear_mask.speechModification(message)
|
||||
|
||||
if(head)
|
||||
message = head.speechModification(message)
|
||||
return message
|
||||
|
||||
/mob/living/carbon/can_speak_vocal(message)
|
||||
|
||||
91
strings/french_replacement.json
Normal file
91
strings/french_replacement.json
Normal file
@@ -0,0 +1,91 @@
|
||||
{
|
||||
|
||||
"french": {
|
||||
"yes": "oui",
|
||||
"no": "non",
|
||||
"I'm": "j'",
|
||||
"am": "suis",
|
||||
"a": "un",
|
||||
"and": "et",
|
||||
"the": "l'",
|
||||
"I": "j'",
|
||||
"for": "pour",
|
||||
"with": "avec",
|
||||
"of": "de",
|
||||
|
||||
|
||||
"assistant": "ravageur",
|
||||
"assistants": "ravageurs",
|
||||
"baby": [
|
||||
"enfant",
|
||||
"petit baguette"
|
||||
],
|
||||
"bad": "mal",
|
||||
"bye": [
|
||||
"bon voyage",
|
||||
"adieu",
|
||||
"au revoir"
|
||||
],
|
||||
"cake": "gateau",
|
||||
"captain": "capitaine",
|
||||
"changeling": "changeur",
|
||||
"cheese": [
|
||||
"brie",
|
||||
"roquefort",
|
||||
"camembert"
|
||||
],
|
||||
"cigarette": "clope",
|
||||
"cook": "cuisinier",
|
||||
"dad": "papa",
|
||||
"enemy": "silly english dog",
|
||||
"friend": "ami",
|
||||
"good": "bon",
|
||||
"greytide": "les gitans",
|
||||
"greytider": "les gitans",
|
||||
"greytiders": "les gitans",
|
||||
"hardsuit": "burkini",
|
||||
"hello": [
|
||||
"'allo",
|
||||
"bonjour",
|
||||
"salut"
|
||||
],
|
||||
"maint": "les banlieues",
|
||||
"meat": [
|
||||
"coq au vin",
|
||||
"boeuf"
|
||||
],
|
||||
"mom": "maman",
|
||||
"my": "mon",
|
||||
"nuke": [
|
||||
"grand bombe",
|
||||
"la baguette ultime"
|
||||
],
|
||||
"op": "boche",
|
||||
"operative": "boche",
|
||||
"operatives": "boches",
|
||||
"ops": "boches",
|
||||
"urity": "urite",
|
||||
"security": "securite",
|
||||
"shit": "merde",
|
||||
"shitcurity": [
|
||||
"gendarmerie",
|
||||
"les keufs"
|
||||
],
|
||||
"shitsec": [
|
||||
"gendarmerie",
|
||||
"les keufs"
|
||||
],
|
||||
"spaghetti": "macaroni",
|
||||
"spicy": "epice",
|
||||
"thanks": "merci",
|
||||
"tomato": "tomate",
|
||||
"traitor": "collaborateur",
|
||||
"want": "envie",
|
||||
"what's": "quel est",
|
||||
"who's": "qui est",
|
||||
"why": "porquois",
|
||||
"wine": "vin",
|
||||
"wizard": "sorcier"
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
|
||||
"italian": {
|
||||
"I'm": "I'm-a",
|
||||
"am": "am-a",
|
||||
@@ -63,4 +64,6 @@
|
||||
"why": "for-a what reason",
|
||||
"wine": "vino"
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user