Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
Xander3359 committed Jan 30, 2024
2 parents 4db1142 + fa56d8b commit 18af902
Show file tree
Hide file tree
Showing 158 changed files with 1,874 additions and 1,148 deletions.
4 changes: 3 additions & 1 deletion _maps/magmoor_digsite_iv.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"map_path": "map_files/Magmoor_Digsite_IV",
"map_file": "Magmoor_Digsite_IV.dmm",
"disk_sets": {
"basic": 1
"set1": 1,
"set2": 1,
"set3": 1
},
"quickbuilds": 1800,
"announce_text": "A faint distress signal has been picked up by our scanners, which have tracked the source to a mining and archaeological site, known as Magmoor Digsite IV. Through use of bluespace drive tech, the ship has jumped within range of the colony. TGMC, gear up and get ready to respond!"
Expand Down
20 changes: 15 additions & 5 deletions _maps/map_files/Magmoor_Digsite_IV/Magmoor_Digsite_IV.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -2673,7 +2673,9 @@
},
/area/magmoor/compound/southwest)
"bOI" = (
/obj/structure/nuke_disk_candidate,
/obj/structure/nuke_disk_candidate{
set_associations = list("set2")
},
/turf/open/floor/mainship/purple{
dir = 9
},
Expand Down Expand Up @@ -7285,7 +7287,9 @@
/turf/closed/wall/r_wall,
/area/magmoor/research/containment)
"feR" = (
/obj/structure/nuke_disk_candidate,
/obj/structure/nuke_disk_candidate{
set_associations = list("set1", "set3")
},
/turf/open/floor/carpet,
/area/magmoor/command/office/main)
"ffk" = (
Expand Down Expand Up @@ -8711,7 +8715,9 @@
},
/area/magmoor/civilian/clean/shower)
"ght" = (
/obj/structure/nuke_disk_candidate,
/obj/structure/nuke_disk_candidate{
set_associations = list("set2", "set3")
},
/turf/open/floor/mainship/orange{
dir = 1
},
Expand Down Expand Up @@ -16027,7 +16033,9 @@
/turf/open/floor/plating/ground/concrete,
/area/magmoor/compound)
"lGP" = (
/obj/structure/nuke_disk_candidate,
/obj/structure/nuke_disk_candidate{
set_associations = list("set1", "set3")
},
/turf/open/floor/mainship/cargo,
/area/magmoor/mining/storage)
"lGS" = (
Expand Down Expand Up @@ -20381,7 +20389,9 @@
/obj/machinery/light{
dir = 4
},
/obj/structure/nuke_disk_candidate,
/obj/structure/nuke_disk_candidate{
set_associations = list("set1", "set2")
},
/turf/open/floor/tile/blue/whiteblue{
dir = 4
},
Expand Down
7 changes: 6 additions & 1 deletion _maps/modularmaps/big_red/bigredatmosvar2.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -691,8 +691,10 @@
/area/bigredv2/outside/filtration_plant)
"PY" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/green/hidden,
/obj/effect/landmark/weed_node,
/obj/machinery/atmospherics/pipe/simple/green/hidden{
dir = 10
},
/turf/open/floor,
/area/bigredv2/outside/filtration_plant)
"Qh" = (
Expand All @@ -708,6 +710,9 @@
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/simple/green/hidden{
dir = 5
},
/turf/open/floor,
/area/bigredv2/outside/filtration_plant)
"Rh" = (
Expand Down
7 changes: 6 additions & 1 deletion _maps/modularmaps/big_red/bigredatmosvar3.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,9 @@
/area/bigredv2/outside/filtration_plant)
"FY" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/green/hidden,
/obj/machinery/atmospherics/pipe/simple/green/hidden{
dir = 10
},
/turf/open/floor,
/area/bigredv2/outside/filtration_plant)
"GD" = (
Expand Down Expand Up @@ -736,6 +738,9 @@
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/simple/green/hidden{
dir = 5
},
/turf/open/floor,
/area/bigredv2/outside/filtration_plant)
"Tm" = (
Expand Down
7 changes: 6 additions & 1 deletion _maps/modularmaps/big_red/bigredatmosvar5.dmm
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,9 @@
/obj/effect/decal/cleanable/dirt,
/obj/effect/decal/cleanable/dirt,
/obj/structure/cable,
/obj/machinery/atmospherics/pipe/simple/green/hidden{
dir = 5
},
/turf/open/floor,
/area/bigredv2/outside/filtration_plant)
"rJ" = (
Expand Down Expand Up @@ -974,8 +977,10 @@
/area/bigredv2/outside/se)
"ZL" = (
/obj/effect/decal/cleanable/dirt,
/obj/machinery/atmospherics/pipe/simple/green/hidden,
/obj/effect/landmark/weed_node,
/obj/machinery/atmospherics/pipe/simple/green/hidden{
dir = 10
},
/turf/open/floor,
/area/bigredv2/outside/filtration_plant)
"ZP" = (
Expand Down
4 changes: 3 additions & 1 deletion code/__DEFINES/campaign.dm
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
///Number of victory points before a faction wins a campaign
#define CAMPAIGN_MAX_VICTORY_POINTS 12
#define CAMPAIGN_MAX_VICTORY_POINTS 7

///Respawn time in campaign mode
#define CAMPAIGN_RESPAWN_TIME 2 MINUTES
Expand All @@ -10,6 +10,8 @@
#define AFTER_MISSION_TELEPORT_DELAY 10 SECONDS
///How long after a mission ends a new leader is picked
#define AFTER_MISSION_LEADER_DELAY 1 MINUTES
///How long after a mission is selected that team balance is checked
#define CAMPAIGN_AUTOBALANCE_DELAY 1 MINUTES
///Standard amount of missions for a faction to have
#define CAMPAIGN_STANDARD_MISSION_QUANTITY 3
///Attrition bonus for losing
Expand Down
2 changes: 1 addition & 1 deletion code/__DEFINES/chat_filter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

/// Given a chat filter result, will send a to_chat to the user telling them about why their message was blocked
#define REPORT_CHAT_FILTER_TO_USER(user, filter_result) \
to_chat(user, span_warning("The word <b>[html_encode(filter_result[CHAT_FILTER_INDEX_WORD])]</b> is prohibited: [html_encode(filter_result[CHAT_FILTER_INDEX_REASON])]"))
to_chat(user, span_boldwarning("The word <b>[html_encode(filter_result[CHAT_FILTER_INDEX_WORD])]</b> is prohibited: [html_encode(filter_result[CHAT_FILTER_INDEX_REASON])]"))

/// Given a user, returns TRUE if they are allowed to bypass the filter.
#define CAN_BYPASS_FILTER(user) (FALSE)//(!isnull(user?.client?.holder)) deleted by decree of tgmc headmins
38 changes: 36 additions & 2 deletions code/__DEFINES/dcs/signals.dm
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,26 @@
#define COMSIG_ENTER_AREA "enter_area" //from base of area/Entered(): (/area)
#define COMSIG_EXIT_AREA "exit_area" //from base of area/Exited(): (/area)


#define COMSIG_CLICK "atom_click" //from base of atom/Click(): (location, control, params, mob/user)
#define COMSIG_CLICK_SHIFT "shift_click" //from base of atom/ShiftClick(): (/mob)
#define COMSIG_CLICK_CTRL "ctrl_click" //from base of atom/CtrlClickOn(): (/mob)
#define COMSIG_CLICK_ALT "alt_click" //from base of atom/AltClick(): (/mob)
#define COMSIG_CLICK_CTRL_SHIFT "ctrl_shift_click" //from base of atom/CtrlShiftClick(/mob)
#define COMSIG_CLICK_CTRL_MIDDLE "ctrl_middle_click" //from base of atom/CtrlMiddleClick(): (/mob)
#define COMSIG_CLICK_RIGHT "right_click" //from base of atom/RightClick(): (/mob)
#define COMSIG_CLICK_SHIFT_RIGHT "shift_right_click" //from base of atom/ShiftRightClick(): (/mob)
#define COMSIG_CLICK_ALT_RIGHT "alt_right_click" //from base of atom/AltRightClick(): (/mob)

#define COMSIG_DBLCLICK_SHIFT_MIDDLE "dblclick_shift_middle"
#define COMSIG_DBLCLICK_CTRL_SHIFT "dblclick_ctrl_shift"
#define COMSIG_DBLCLICK_CTRL_MIDDLE "dblclick_ctrl_middle"
#define COMSIG_DBLCLICK_MIDDLE "dblclick_middle"
#define COMSIG_DBLCLICK_SHIFT "dblclick_shift"
#define COMSIG_DBLCLICK_ALT "dblclick_alt"
#define COMSIG_DBLCLICK_CTRL "dblclick_ctrl"


// /client signals
#define COMSIG_CLIENT_MOUSEDOWN "client_mousedown" //from base of client/MouseDown(): (/client, object, location, control, params)
#define COMSIG_CLIENT_MOUSEUP "client_mouseup" //from base of client/MouseUp(): (/client, object, location, control, params)
Expand Down Expand Up @@ -328,8 +348,6 @@
#define COMSIG_ITEM_ATTACK_ALTERNATE "item_attack_alt" //from base of obj/item/attack_alternate(): (/mob/living/target, /mob/living/user)
#define COMSIG_ITEM_ATTACK_SELF "item_attack_self" //from base of obj/item/attack_self(): (/mob)
#define COMPONENT_NO_INTERACT (1<<0)
///from base of obj/item/attack_self_alternate(): (/mob)
#define COMSIG_ITEM_ATTACK_SELF_ALTERNATE "item_attack_self_alt"
#define COMSIG_ITEM_EQUIPPED "item_equip" //from base of obj/item/equipped(): (/mob/equipper, slot)
#define COMSIG_ITEM_EQUIPPED_TO_SLOT "item_equip_to_slot" //from base of obj/item/equipped(): (/mob/equipper, slot)
#define COMSIG_ITEM_EQUIPPED_NOT_IN_SLOT "item_equip_not_in_slot" //from base of obj/item/equipped(): (/mob/equipper, slot)
Expand All @@ -354,6 +372,10 @@
#define COMSIG_ITEM_TOGGLE_ACTION "item_toggle_action" //from base of obj/item/ui_interact(): (/mob/user)
#define COMSIG_ITEM_TOGGLE_ACTIVE "item_toggle_active" //from base of /obj/item/toggle_active(): (new_state)

#define COMSIG_ITEM_MIDDLECLICKON "item_middleclickon" //from base of mob/living/carbon/human/MiddleClickOn(): (/atom, /mob)
#define COMSIG_ITEM_SHIFTCLICKON "item_shiftclickon" //from base of mob/living/carbon/human/ShiftClickOn(): (/atom, /mob)
#define COMSIG_ITEM_RIGHTCLICKON "item_rightclickon" //from base of mob/living/carbon/human/RightClickOn(): (/atom, /mob)
#define COMPONENT_ITEM_CLICKON_BYPASS (1<<0)
#define COMSIG_ITEM_TOGGLE_BUMP_ATTACK "item_toggle_bump_attack" //from base of obj/item/proc/toggle_item_bump_attack(): (/mob/user, enable_bump_attack)

#define COMSIG_ITEM_SECONDARY_COLOR "item_secondary_color" //from base of /obj/item/proc/alternate_color_item() : (mob/user, list/obj/item)
Expand Down Expand Up @@ -440,6 +462,15 @@
#define COMSIG_MOUSEDROP_ONTO "mousedrop_onto" //! from base of atom/MouseDrop(): (/atom/over, /mob/user)
#define COMPONENT_NO_MOUSEDROP (1<<0)
#define COMSIG_MOUSEDROPPED_ONTO "mousedropped_onto" //! from base of atom/MouseDrop_T: (/atom/from, /mob/user)
#define COMSIG_MOB_CLICKON "mob_clickon" //from base of mob/clickon(): (atom/A, params)
#define COMSIG_MOB_MIDDLE_CLICK "mob_middle_click" //from base of mob/MiddleClickOn(): (atom/A)
#define COMSIG_MOB_CLICK_SHIFT "mob_click_shift" //from base of mob/ShiftClickOn(): (atom/A)
#define COMSIG_MOB_CLICK_ALT "mob_click_alt" //from base of mob/AltClickOn(): (atom/A)
#define COMSIG_MOB_CLICK_RIGHT "mob_click_right" //from base of mob/RightClickOn(): (atom/A)
#define COMSIG_MOB_CLICK_SHIFT_RIGHT "mob_click_shift_right" //from base of mob/ShiftRightClick(): (atom/A)
#define COMSIG_MOB_CLICK_ALT_RIGHT "mob_click_alt_right" //from base of mob/AltRightClick(): (atom/A)
#define COMSIG_MOB_CLICK_CANCELED (1<<0)
#define COMSIG_MOB_CLICK_HANDLED (1<<1)
#define COMSIG_MOB_ATTACK_RANGED "mob_attack_ranged" //from base of mob/RangedAttack(): (atom/A, params)
#define COMSIG_MOB_THROW "mob_throw" //from base of /mob/throw_item(): (atom/target)
///from base of /mob/verb/examinate(): (atom/target)
Expand All @@ -459,6 +490,8 @@
///Called when an object is turned into another item through grilling ontop of a griddle
#define COMSIG_GRILL_COMPLETED "item_grill_completed"

#define COMSIG_MOB_ITEM_AFTERATTACK "mob_item_afterattack" //from base of obj/item/afterattack(): (atom/target, mob/user, has_proximity, click_parameters)
#define COMSIG_MOB_ITEM_AFTERATTACK_ALTERNATE "mob_item_afterattack_alternate" //from base of obj/item/afterattack_alternate(): (atom/target, mob/user, has_proximity, click_parameters)
#define COMSIG_MOB_SAY "mob_say" // from /mob/living/say(): (proc args list)
#define COMPONENT_UPPERCASE_SPEECH (1<<0)
// used to access COMSIG_MOB_SAY argslist
Expand Down Expand Up @@ -658,6 +691,7 @@
#define COMSIG_KB_CARBON_SELECTDISARMINTENT_DOWN "keybinding_carbon_selectdisarmintent_down"
#define COMSIG_KB_CARBON_SELECTGRABINTENT_DOWN "keybinding_carbon_selectgrabintent_down"
#define COMSIG_KB_CARBON_SELECTHARMINTENT_DOWN "keybinding_carbon_selectharmintent_down"
#define COMSIG_KB_CARBON_SPECIALCLICK_DOWN "keybinding_carbon_specialclick_down"
#define COMSIG_KB_CLIENT_GETHELP_DOWN "keybinding_client_gethelp_down"
#define COMSIG_KB_CLIENT_SCREENSHOT_DOWN "keybinding_client_screenshot_down"
#define COMSIG_KB_CLIENT_MINIMALHUD_DOWN "keybinding_client_minimalhud_down"
Expand Down
100 changes: 0 additions & 100 deletions code/__DEFINES/dcs/signals/signals_click.dm

This file was deleted.

Loading

0 comments on commit 18af902

Please sign in to comment.