mirror of
https://github.com/PolarisSS13/Polaris.git
synced 2026-08-26 22:56:33 +01:00
deco stuff (#8667)
* deco * Thalar not credits * adjustments * indent * The linter does not like Latin Small Letter O With Diaeresis * hopefully it will work now
This commit is contained in:
@@ -660,3 +660,33 @@
|
||||
name = "Chat With Sally"
|
||||
desc = "A poster depicting a familiar face readying to slurp a big mug of coffee. Thanks to a partnership with Kaleidoscope Cosmetics, the latest incarnation of Vir's 'Sally' chat-show host comes with the latest in cosmetic gene-mods! Or not, she's a drone."
|
||||
listing_name = "Ad - Chat With Sally"
|
||||
|
||||
/decl/poster/nanotrasen/pol_11
|
||||
icon_state = "tgposter63"
|
||||
name = "Phoron and the body"
|
||||
desc = "This informational poster provides information on the effects of Phoron exposure, and what you should do if exposed to Phoron."
|
||||
listing_name = "Safety - Phoron and the body"
|
||||
|
||||
/decl/poster/pol_17
|
||||
icon_state = "tgposter64"
|
||||
name = "Periodic Table of the Elements"
|
||||
desc = "It is displaying the periodic table of the elements, from Hydrogen to Oganesson, and everything inbetween."
|
||||
listing_name = "Info - Periodic Table"
|
||||
|
||||
/decl/poster/pol_18
|
||||
icon_state = "tgposter65"
|
||||
name = "Shop-N-Large Supermarkets"
|
||||
desc = "An advertisement for Shop-N-Large supermarkets, advertising their new Stop-N-Shop locations as part of their partnership with Nanotrasen."
|
||||
listing_name = "Ad - Stop-N-Shop"
|
||||
|
||||
/decl/poster/pol_19
|
||||
icon_state = "tgposter66"
|
||||
name = "Midtown Slice Pizza"
|
||||
desc = "An advertisement for Midtown Slice Pizza, a subsidiary of Nanotrasen. Midtown Slice: like a slice of home, no matter where you are."
|
||||
listing_name = "Ad - Midtown Pizza"
|
||||
|
||||
/decl/poster/pol_20
|
||||
icon_state = "tgposter67"
|
||||
name = "Jim Norton's Coffee"
|
||||
desc = "An advertisement for Jim Norton's, the coffee joint that's taken the galaxy by storm."
|
||||
listing_name = "Ad - Jim Norton Coffee"
|
||||
@@ -3,7 +3,7 @@
|
||||
if(exact)
|
||||
return decls_repository.get_decl(path)
|
||||
else
|
||||
var/list/L = decls_repository.get_decls_of_type(path)
|
||||
var/list/L = decls_repository.get_decls_of_type(path)
|
||||
return L[pick(L)]
|
||||
return null
|
||||
|
||||
@@ -27,7 +27,7 @@
|
||||
src.poster_decl = get_poster_decl(poster_decl, TRUE)
|
||||
else
|
||||
src.poster_decl = get_poster_decl(/decl/poster, FALSE)
|
||||
|
||||
|
||||
name += " - [src.poster_decl.name]"
|
||||
return ..()
|
||||
|
||||
@@ -58,8 +58,8 @@
|
||||
if (locate(/obj/structure/sign/poster) in T)
|
||||
stuff_on_wall = 1
|
||||
break
|
||||
|
||||
if(stuff_on_wall)
|
||||
|
||||
if(stuff_on_wall)
|
||||
to_chat(user, "<span class='notice'>There is already a poster there!</span>")
|
||||
return FALSE
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
to_chat(user, "<span class='notice'>You place the poster!</span>")
|
||||
qdel(src)
|
||||
return TRUE
|
||||
|
||||
|
||||
P.roll_and_drop(P.loc)
|
||||
qdel(src)
|
||||
return FALSE
|
||||
@@ -155,7 +155,7 @@
|
||||
else if(ispath(P))
|
||||
src.poster_decl = get_poster_decl(P, TRUE)
|
||||
else
|
||||
src.poster_decl = get_poster_decl(target_poster_decl_path, FALSE)
|
||||
src.poster_decl = get_poster_decl(target_poster_decl_path, FALSE)
|
||||
|
||||
name = "[initial(name)] - [poster_decl.name]"
|
||||
desc = "[initial(desc)] [poster_decl.desc]"
|
||||
|
||||
Reference in New Issue
Block a user