Skip to content

Commit

Permalink
Merge branch 'RepoStash:dev-sierra' into dev-sierra
Browse files Browse the repository at this point in the history
  • Loading branch information
800maximum123 authored Jun 7, 2024
2 parents ad105a2 + 75d5e90 commit f6bc221
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 449 deletions.
1 change: 1 addition & 0 deletions maps/torch_fd/fd_torch.dm
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@
// #include "../../mods/_maps/hand/_map_hand.dme" // Тоже зависим от предметов с карты Стража (инклюд над фарфлитом)

// ~NON-UPSTREAM MODS~ //
#include "../../mods/_fd/runechat/_runechat.dme"
#include "../../mods/_fd/fd_assets/_fd_assets.dme"

#include "../../mods/_fd/accent_labels/_accent_labels.dme"
Expand Down
11 changes: 2 additions & 9 deletions mods/_fd/_maps/snow_cage/code/snow_cage.dm
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,19 @@
)

var/list/lightmain
var/list/lightunderground

/obj/overmap/visitable/sector/snow_cage/Initialize()
..()

lightmain = block(locate(world.maxx, world.maxy, max(map_z)), locate(1, 1, min(map_z)))
lightunderground = block(locate(world.maxx, world.maxy, max(map_z)), locate(1, 1, min(map_z)))
for(var/atom/A as anything in lightmain)
if(!istype(A.loc, /area/splanet/outdoors) || A.density || istype(A.loc, /area/splanet/underground))
lightmain -= A
for(var/atom/A as anything in lightunderground)
if(!istype(A.loc, /area/splanet/underground) || A.density || istype(A.loc, /area/splanet/outdoors))
lightunderground -= A
update_daynight()

/obj/overmap/visitable/sector/snow_cage/proc/update_daynight(light = 0.7, light_color_m = "#5bbbc5", light_color_s = "#1f538f")
/obj/overmap/visitable/sector/snow_cage/proc/update_daynight(light = 0.7, light_color_m = "#5bbbc5")
for(var/turf/T as anything in lightmain)
T.set_light(light, 0.1, 2, l_color = light_color_m)
for(var/turf/T as anything in lightunderground)
T.set_light(light, 0.1, 2, l_color = light_color_s)
T.set_light(1, light, l_color = light_color_m)

/datum/map_template/ruin/away_site/snow_cage
name = "arctic planet"
Expand Down
10 changes: 6 additions & 4 deletions mods/_fd/backgrounds/code/factions_ipc.dm
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,18 @@
/obj/item/card/id
var/ipc_gen = null

/obj/item/card/id/proc/extra_dat()
. = list()

/mob/living/carbon/human/set_id_info(obj/item/card/id/id_card)
..()
if(is_species(SPECIES_IPC))
id_card.ipc_gen = get_cultural_value(TAG_FACTION)

/obj/item/card/id/dat()
var/list/dat = list("<table><tr><td>")
/obj/item/card/id/extra_dat()
. = ..()
if(ipc_gen)
dat += text("Registration: []</A><BR>\n", ipc_gen)
..()
. += "Registration: [ipc_gen]<br>"

/singleton/cultural_info/faction/ipc
economic_power = 0.1
Expand Down
4 changes: 2 additions & 2 deletions mods/_fd/fd_assets/code/structures/decor.dm
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@

/obj/structure/fd/bs_lamp/Initialize()
. = ..()
set_light(0.3, 1, 3, 1, COLOR_CYAN)
set_light(3, 0.3, l_color = COLOR_CYAN)

/obj/structure/fd/bs_vines
name = "bluespace corrupted vines"
Expand All @@ -321,7 +321,7 @@

/obj/structure/fd/bs_vines/Initialize()
. = ..()
set_light(0.3, 1, 2, 1, COLOR_CYAN)
set_light(1, 0.3, l_color = COLOR_CYAN)

/obj/structure/fd/bs_vines/user_unbuckle_mob(mob/user)
if(buckled_mob && !user.stat && !user.restrained())
Expand Down
4 changes: 0 additions & 4 deletions mods/_fd/runechat/_runechat.dme
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,9 @@

#include "_runechat.dm"

#include "code/_list_helpers.dm"
#include "code/atom.dm"
#include "code/client.dm"
#include "code/emote.dm"
#include "code/hear.dm"
#include "code/message.dm"
#include "code/renderer.dm"
#include "code/runechat_message.dm"

#endif
6 changes: 0 additions & 6 deletions mods/_fd/runechat/code/_list_helpers.dm

This file was deleted.

9 changes: 0 additions & 9 deletions mods/_fd/runechat/code/atom.dm

This file was deleted.

16 changes: 0 additions & 16 deletions mods/_fd/runechat/code/client.dm
Original file line number Diff line number Diff line change
@@ -1,19 +1,3 @@
/client
// Runechat messages
var/list/seen_messages

/datum/client_preference/runechat_mob
description = "Enable mob runechat"
key = "RUNECHAT_MOB"
options = list(GLOB.PREF_YES, GLOB.PREF_NO)
default_value = GLOB.PREF_YES

/datum/client_preference/runechat_obj
description = "Enable obj runechat"
key = "RUNECHAT_OBJ"
options = list(GLOB.PREF_YES, GLOB.PREF_NO)
default_value = GLOB.PREF_YES

/datum/client_preference/runechat_messages_length
description = "Length of runechat messages"
key = "RUNECHAT_MESSAGES_LENGTH"
Expand Down
6 changes: 0 additions & 6 deletions mods/_fd/runechat/code/renderer.dm

This file was deleted.

Loading

0 comments on commit f6bc221

Please sign in to comment.