Skip to content

Commit

Permalink
Merge remote-tracking branch 'citrp/master' into thog
Browse files Browse the repository at this point in the history
  • Loading branch information
silicons committed Sep 28, 2024
2 parents 0167054 + 4c5ef7f commit c4fd68c
Show file tree
Hide file tree
Showing 619 changed files with 398,464 additions and 12,263 deletions.
5 changes: 5 additions & 0 deletions _mapload/victory.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#ifdef FORCE_MAP
#error Duplicate FORCE_MAP, what are you doing!?
#endif

#define FORCE_MAP "victory"
108 changes: 70 additions & 38 deletions citadel.dme
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,7 @@
#include "code\__DEFINES\fishing\aquarium.dm"
#include "code\__DEFINES\fishing\fish.dm"
#include "code\__DEFINES\fishing\fishing.dm"
#include "code\__DEFINES\hardsuits\breaches.dm"
#include "code\__DEFINES\interface\skin.dm"
#include "code\__DEFINES\interface\verbs.dm"
#include "code\__DEFINES\inventory\accessories.dm"
Expand Down Expand Up @@ -273,6 +274,7 @@
#include "code\__DEFINES\mobs\silicon_privileges.dm"
#include "code\__DEFINES\mobs\sprite_accessories.dm"
#include "code\__DEFINES\mobs\stat.dm"
#include "code\__DEFINES\mobs\wounds.dm"
#include "code\__DEFINES\objects\objects.dm"
#include "code\__DEFINES\objects\type_generation.dm"
#include "code\__DEFINES\overmaps\misc.dm"
Expand Down Expand Up @@ -397,6 +399,7 @@
#include "code\__HELPERS\files\walk.dm"
#include "code\__HELPERS\game\depth.dm"
#include "code\__HELPERS\game\combat\arc.dm"
#include "code\__HELPERS\game\turfs\blocks.dm"
#include "code\__HELPERS\game\turfs\line.dm"
#include "code\__HELPERS\game\turfs\offsets.dm"
#include "code\__HELPERS\graphs\astar.dm"
Expand Down Expand Up @@ -1094,6 +1097,10 @@
#include "code\game\content\factions\corporations\nanotrasen\nanotrasen-supply\supplies.dm"
#include "code\game\content\factions\corporations\nanotrasen\nanotrasen-supply\vehicles.dm"
#include "code\game\content\factions\corporations\nanotrasen\nanotrasen-supply\voidsuits.dm"
#include "code\game\content\factions\derelict\derelict.dm\derelict_flora.dm"
#include "code\game\content\factions\derelict\derelict.dm\derelict_horrors.dm"
#include "code\game\content\factions\derelict\derelict.dm\derelict_props.dm"
#include "code\game\content\factions\derelict\derelict.dm\derelict_structures.dm"
#include "code\game\content\factions\orion\iwl\armor.dm"
#include "code\game\content\factions\orion\iwl\guns.dm"
#include "code\game\content\factions\orion\iwl\head.dm"
Expand Down Expand Up @@ -2278,6 +2285,7 @@
#include "code\modules\asset_cache\assets\legacy_nanomaps.dm"
#include "code\modules\asset_cache\assets\legacy_nanoui.dm"
#include "code\modules\asset_cache\assets\loadout.dm"
#include "code\modules\asset_cache\assets\logos.dm"
#include "code\modules\asset_cache\assets\materials.dm"
#include "code\modules\asset_cache\assets\moods.dm"
#include "code\modules\asset_cache\assets\notes.dm"
Expand Down Expand Up @@ -3322,11 +3330,9 @@
#include "code\modules\maps\overmap\space\talon\talon_areas.dm"
#include "code\modules\maps\overmap\space\trade_station\trade_station.dm"
#include "code\modules\maps\overmap\space\trade_station\trade_station_jobs.dm"
#include "code\modules\maps\overmap\space\triumph\triumph.dm"
#include "code\modules\maps\templates\badmin_misc\fun.dm"
#include "code\modules\maps\templates\badmin_misc\templates.dm"
#include "code\modules\maps\templates\misc_presets\rift_shuttle_landmarks.dm"
#include "code\modules\maps\templates\misc_presets\triumph_shuttle_landmarks.dm"
#include "code\modules\maps\templates\shuttles\admin_spawn\_generic_shuttles.dm"
#include "code\modules\maps\templates\shuttles\admin_spawn\abductor.dm"
#include "code\modules\maps\templates\shuttles\admin_spawn\bearcat.dm"
Expand Down Expand Up @@ -3453,37 +3459,37 @@
#include "code\modules\metric\count.dm"
#include "code\modules\metric\department.dm"
#include "code\modules\metric\metric.dm"
#include "code\modules\mining\abandonedcrates.dm"
#include "code\modules\mining\abandonedcrates_vr.dm"
#include "code\modules\mining\alloys.dm"
#include "code\modules\mining\fulton.dm"
#include "code\modules\mining\kinetic_crusher.dm"
#include "code\modules\mining\machine_input_output_plates.dm"
#include "code\modules\mining\machine_processing.dm"
#include "code\modules\mining\machine_stacking.dm"
#include "code\modules\mining\machine_unloading.dm"
#include "code\modules\mining\mine_items.dm"
#include "code\modules\mining\mine_items_vr.dm"
#include "code\modules\mining\mine_outcrops.dm"
#include "code\modules\mining\mine_turfs.dm"
#include "code\modules\mining\mineral_effect.dm"
#include "code\modules\mining\ore.dm"
#include "code\modules\mining\ore_box.dm"
#include "code\modules\mining\ore_datum.dm"
#include "code\modules\mining\ore_datum_vr.dm"
#include "code\modules\mining\resonator_vr.dm"
#include "code\modules\mining\shelter_atoms.dm"
#include "code\modules\mining\shelters.dm"
#include "code\modules\mining\vertibore.dm"
#include "code\modules\mining\drilling\drill.dm"
#include "code\modules\mining\drilling\scanner.dm"
#include "code\modules\mining\excavation\mine_outcrops.dm"
#include "code\modules\mining\excavation\mineral_effect.dm"
#include "code\modules\mining\machinery\machine_input_output_plates.dm"
#include "code\modules\mining\machinery\machine_processing.dm"
#include "code\modules\mining\machinery\machine_stacking.dm"
#include "code\modules\mining\machinery\machine_unloading.dm"
#include "code\modules\mining\machinery\sheet_silo.dm"
#include "code\modules\mining\machinery\sheet_silo_loader.dm"
#include "code\modules\mining\misc\abandonedcrates.dm"
#include "code\modules\mining\misc\abandonedcrates_vr.dm"
#include "code\modules\mining\ore_redemption_machine\construction.dm"
#include "code\modules\mining\ore_redemption_machine\engineering_points_vendor.dm"
#include "code\modules\mining\ore_redemption_machine\equipment_vendor.dm"
#include "code\modules\mining\ore_redemption_machine\mine_point_items.dm"
#include "code\modules\mining\ore_redemption_machine\survey_vendor.dm"
#include "code\modules\mining\ores\alloys.dm"
#include "code\modules\mining\ores\ore.dm"
#include "code\modules\mining\ores\ore_datum.dm"
#include "code\modules\mining\tools\fulton.dm"
#include "code\modules\mining\tools\kinetic_accelerator.dm"
#include "code\modules\mining\tools\kinetic_crusher.dm"
#include "code\modules\mining\tools\mine_items.dm"
#include "code\modules\mining\tools\mine_items_vr.dm"
#include "code\modules\mining\tools\ore_box.dm"
#include "code\modules\mining\tools\resonator.dm"
#include "code\modules\mining\tools\shelter_atoms.dm"
#include "code\modules\mining\tools\shelters.dm"
#include "code\modules\mining\tools\vertibore.dm"
#include "code\modules\mob\action_feedback.dm"
#include "code\modules\mob\animations.dm"
#include "code\modules\mob\client.dm"
Expand All @@ -3501,10 +3507,10 @@
#include "code\modules\mob\logout.dm"
#include "code\modules\mob\mob-damage.dm"
#include "code\modules\mob\mob-defense.dm"
#include "code\modules\mob\mob-iff.dm"
#include "code\modules\mob\mob-keybind-triggers.dm"
#include "code\modules\mob\mob.dm"
#include "code\modules\mob\mob_defines.dm"
#include "code\modules\mob\mob-iff.dm"
#include "code\modules\mob\mob_helpers.dm"
#include "code\modules\mob\mob_transformation_simple.dm"
#include "code\modules\mob\mobility.dm"
Expand Down Expand Up @@ -4438,7 +4444,6 @@
#include "code\modules\projectiles\guns\ballistic\microbattery\revolver_cells.dm"
#include "code\modules\projectiles\guns\energy\frontier.dm"
#include "code\modules\projectiles\guns\energy\hooklauncher.dm"
#include "code\modules\projectiles\guns\energy\kinetic_accelerator.dm"
#include "code\modules\projectiles\guns\energy\laser.dm"
#include "code\modules\projectiles\guns\energy\netgun_vr.dm"
#include "code\modules\projectiles\guns\energy\nuclear.dm"
Expand Down Expand Up @@ -4490,33 +4495,38 @@
#include "code\modules\projectiles\guns\projectile\sniper.dm"
#include "code\modules\projectiles\guns\projectile\caseless\pellet.dm"
#include "code\modules\projectiles\guns\projectile\sniper\collapsible_sniper.dm"
#include "code\modules\projectiles\projectile\arc.dm"
#include "code\modules\projectiles\projectile\helpers.dm"
#include "code\modules\projectiles\projectile\projectile-hitscan_visuals.dm"
#include "code\modules\projectiles\projectile\projectile-physics.dm"
#include "code\modules\projectiles\projectile\projectile-tracing.dm"
#include "code\modules\projectiles\projectile\projectile.dm"
#include "code\modules\projectiles\projectile\projectile_effect.dm"
#include "code\modules\projectiles\projectile\projectile_effect\detonation.dm"
#include "code\modules\projectiles\projectile\projectile_effect\detonation\legacy_emp.dm"
#include "code\modules\projectiles\projectile\projectile_effect\detonation\legacy_explosion.dm"
#include "code\modules\projectiles\projectile\subtypes\arc.dm"
#include "code\modules\projectiles\projectile\subtypes\blob.dm"
#include "code\modules\projectiles\projectile\subtypes\beam.dm"
#include "code\modules\projectiles\projectile\subtypes\bullets.dm"
#include "code\modules\projectiles\projectile\subtypes\bullets_vr.dm"
#include "code\modules\projectiles\projectile\subtypes\change.dm"
#include "code\modules\projectiles\projectile\subtypes\energy.dm"
#include "code\modules\projectiles\projectile\subtypes\energy_vr.dm"
#include "code\modules\projectiles\projectile\subtypes\explosive.dm"
#include "code\modules\projectiles\projectile\subtypes\force.dm"
#include "code\modules\projectiles\projectile\subtypes\hook.dm"
#include "code\modules\projectiles\projectile\subtypes\magic.dm"
#include "code\modules\projectiles\projectile\subtypes\magnetic.dm"
#include "code\modules\projectiles\projectile\subtypes\forcebolt.dm"
#include "code\modules\projectiles\projectile\subtypes\ion.dm"
#include "code\modules\projectiles\projectile\subtypes\pellet.dm"
#include "code\modules\projectiles\projectile\subtypes\reusable.dm"
#include "code\modules\projectiles\projectile\subtypes\scatter.dm"
#include "code\modules\projectiles\projectile\subtypes\special.dm"
#include "code\modules\projectiles\projectile\subtypes\trace.dm"
#include "code\modules\projectiles\projectile\subtypes\unsorted.dm"
#include "code\modules\projectiles\projectile\subtypes\arc\arc.dm"
#include "code\modules\projectiles\projectile\subtypes\beam\beams.dm"
#include "code\modules\projectiles\projectile\subtypes\beam\beams_vr.dm"
#include "code\modules\projectiles\projectile\subtypes\beam\blaster.dm"
#include "code\modules\projectiles\projectile\subtypes\bullet\bullets.dm"
#include "code\modules\projectiles\projectile\subtypes\bullet\bullets_vr.dm"
#include "code\modules\projectiles\projectile\subtypes\bullet\magnetic.dm"
#include "code\modules\projectiles\projectile\subtypes\bullet\reusable.dm"
#include "code\modules\projectiles\projectile\subtypes\bullet\srmrocket.dm"
#include "code\modules\projectiles\projectile\subtypes\energy\blob.dm"
#include "code\modules\projectiles\projectile\subtypes\energy\energy.dm"
#include "code\modules\projectiles\projectile\subtypes\energy\energy_vr.dm"
#include "code\modules\projectiles\projectile\subtypes\energy\hook.dm"
#include "code\modules\projectiles\targeting\targeting_client.dm"
#include "code\modules\projectiles\targeting\targeting_gun.dm"
#include "code\modules\projectiles\targeting\targeting_mob.dm"
Expand Down Expand Up @@ -4705,6 +4715,13 @@
#include "code\modules\shuttles\shuttles_vr.dm"
#include "code\modules\shuttles\shuttles_web.dm"
#include "code\modules\shuttles\web_datums.dm"
#include "code\modules\shuttles\effects\shuttle_landing.dm"
#include "code\modules\shuttles\shuttle\shuttle.dm"
#include "code\modules\shuttles\shuttle\shuttle_anchor.dm"
#include "code\modules\shuttles\shuttle\shuttle_area.dm"
#include "code\modules\shuttles\shuttle\shuttle_descriptor.dm"
#include "code\modules\shuttles\shuttle\shuttle_port.dm"
#include "code\modules\shuttles\shuttle\shuttle_template.dm"
#include "code\modules\species\abilites.dm"
#include "code\modules\species\character_species.dm"
#include "code\modules\species\physiology.dm"
Expand Down Expand Up @@ -4811,7 +4828,6 @@
#include "code\modules\sprite_accessories\ears\antenna.dm"
#include "code\modules\sprite_accessories\ears\horns.dm"
#include "code\modules\sprite_accessories\ears\misc.dm"
#include "code\modules\sprite_accessories\ears\xenomorph.dm"
#include "code\modules\sprite_accessories\ears\animal\avian.dm"
#include "code\modules\sprite_accessories\ears\animal\bee.dm"
#include "code\modules\sprite_accessories\ears\animal\bovine.dm"
Expand Down Expand Up @@ -5290,6 +5306,8 @@
#include "maps\sectors\virgo4_140\virgo4_140.dm"
#include "maps\sectors\wasteland_140\wasteland_140.dm"
#include "maps\sectors\wasteland_192\wasteland_192.dm"
#include "maps\shuttles\factions\corporations\nanotrasen\drone_prototype.dm"
#include "maps\shuttles\factions\corporations\nanotrasen\sci_vector.dm"
#include "maps\submaps\_helpers.dm"
#include "maps\submaps\_readme.dm"
#include "maps\submaps\level_specific\debrisfield_vr\debrisfield_things.dm"
Expand All @@ -5303,5 +5321,19 @@
#include "maps\triumph\sectors.dm"
#include "maps\triumph\shuttles.dm"
#include "maps\triumph\telecomms.dm"
#include "maps\triumph\triumph-overmap.dm"
#include "maps\triumph\triumph-sectors.dm"
#include "maps\triumph\triumph-shuttle-landmarks.dm"
#include "maps\triumph\triumph-turbolifts.dm"
#include "maps\triumph\triumph.dm"
#include "maps\victory\engines.dm"
#include "maps\victory\sectors.dm"
#include "maps\victory\shuttles.dm"
#include "maps\victory\telecomms.dm"
#include "maps\victory\victory-areas.dm"
#include "maps\victory\victory-overmap.dm"
#include "maps\victory\victory-sectors.dm"
#include "maps\victory\victory-shuttle-landmarks.dm"
#include "maps\victory\victory-turbolifts.dm"
#include "maps\victory\victory.dm"
// END_INCLUDE
4 changes: 2 additions & 2 deletions code/__DEFINES/_flags/turf_flags.dm
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/// This is used in literally one place, turf.dm, to block ethwereal jaunt.
#define NO_JAUNT (1<<0)
/// Unused reservation turf
#define UNUSED_RESERVATION_TURF (1<<2)
#define TURF_FLAG_UNUSED_RESERVATION (1<<2)
/// queued for planet turf addition
#define TURF_PLANET_QUEUED (1<<3)
/// registered to a planet
Expand All @@ -28,7 +28,7 @@

DEFINE_BITFIELD(turf_flags, list(
BITFIELD(NO_JAUNT),
BITFIELD(UNUSED_RESERVATION_TURF),
BITFIELD(TURF_FLAG_UNUSED_RESERVATION),
BITFIELD(TURF_PLANET_QUEUED),
BITFIELD(TURF_PLANET_REGISTERED),
BITFIELD(TURF_ZONE_REBUILD_QUEUED),
Expand Down
1 change: 1 addition & 0 deletions code/__DEFINES/_planes+layers.dm
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@
*/
#define DEBUG_PLANE 23
#define DEBUG_LAYER_AREA_OVERLAYS 100
#define DEBUG_LAYER_SHUTTLE_MARKERS 500

/**
*! -- Ghost Plane
Expand Down
63 changes: 51 additions & 12 deletions code/__DEFINES/combat/damage.dm
Original file line number Diff line number Diff line change
@@ -1,18 +1,57 @@
//* This file is explicitly licensed under the MIT license. *//
//* Copyright (c) 2023 Citadel Station developers. *//
//* Copyright (c) 2024 Citadel Station Developers *//

//? damage types

// todo: refactor damage types
//* direct damage types; maps to most systems in the game *//

//? damage_mode bitfield
#define DAMAGE_TYPE_BRUTE "brute"
#define DAMAGE_TYPE_BURN "burn"

#define DAMAGE_MODE_SHARP (1<<0) //! sharp weapons like knives, spears, etc
#define DAMAGE_MODE_EDGE (1<<1) //! weapons with an edge, like knives, being used as such. without this, sharp = pierce
#define DAMAGE_MODE_ABLATING (1<<2) //! pulse lasers, etc, basically blows a crater
#define DAMAGE_MODE_PIERCE (1<<3) //! specifically highly-piercing weapons like bullets, even worse than sharp.
#define DAMAGE_MODE_SHRED (1<<4) //! messy, shredded wounds instead of a clean cut / pierce. strong.
#define DAMAGE_MODE_GRADUAL (1<<5) //! disallow bone breaks, ablation, etc; used for gradual sources like depressurization
#define DAMAGE_MODE_INTERNAL (1<<6) //! coming from internal; used to flag that something isn't coming through the skin. certain defenses don't work if this is set.
#define DAMAGE_MODE_REDIRECT (1<<7) //! if zone doesn't exist / etc, allow redirection
#define DAMAGE_MODE_NO_OVERFLOW (1<<8)//! temporary - re-evaluate when health is reworked. prevents damage from overflowing caps.
//* special damage types; only relevant for certain biologies *//
//* most of these will be reworked in brainmed update *//

/// body toxins / systems instability
#define DAMAGE_TYPE_TOX "tox"
/// oxygen deprivation
#define DAMAGE_TYPE_OXY "oxy"
/// dna damage
#define DAMAGE_TYPE_CLONE "clone"
/// pain
/// todo: stamina vs pain
#define DAMAGE_TYPE_HALLOSS "halloss"

//* special hybrid types; processed specially depending on type *//

/// passed to electrocute_act()
/// todo: remove
#define DAMAGE_TYPE_ELECTROCUTE "electrocute"
/// bioacid ; toxins for organics, acid for synthetics
/// todo: better hybrid type handling
#define DAMAGE_TYPE_BIOACID "bioacid"
/// searing; half brute, half bur
/// todo: better hybrid type handling
#define DAMAGE_TYPE_SEARING "searing"

//? damage_mode bitfield ?//

/// sharp weapons like knives, spears, etc
#define DAMAGE_MODE_SHARP (1<<0)
/// weapons with an edge, like knives, being used as such. without this, sharp = pierce
#define DAMAGE_MODE_EDGE (1<<1)
/// pulse lasers, etc, basically blows a crater
#define DAMAGE_MODE_ABLATING (1<<2)
/// specifically highly-piercing weapons like bullets, even worse than sharp.
///
/// * for pierce-ness checks, 'sharp withot edge' is fine. having this flag is pretty much second tier of piercing.
#define DAMAGE_MODE_PIERCE (1<<3)
/// messy, shredded wounds instead of a clean cut / pierce. strong.
#define DAMAGE_MODE_SHRED (1<<4)
/// disallow bone breaks, ablation, etc; used for gradual sources like depressurization
#define DAMAGE_MODE_GRADUAL (1<<5)
/// coming from internal; used to flag that something isn't coming through the skin. certain defenses don't work if this is set.
#define DAMAGE_MODE_INTERNAL (1<<6)
/// if zone doesn't exist / etc, allow redirection
#define DAMAGE_MODE_REDIRECT (1<<7)
/// temporary - re-evaluate when health is reworked. prevents damage from overflowing caps.
#define DAMAGE_MODE_NO_OVERFLOW (1<<8)
16 changes: 0 additions & 16 deletions code/__DEFINES/damage_organs.dm
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
// Damage things. //TODO: Merge these down to reduce on defines.
// Way to waste perfectly good damage-type names (BRUTE) on this... If you were really worried about case sensitivity, you could have just used lowertext(damagetype) in the proc.
#define BRUTE "brute"
#define BURN "fire"
#define TOX "tox"
#define OXY "oxy"
#define CLONE "clone"
#define HALLOSS "halloss"
#define ELECTROCUTE "electrocute"
#define BIOACID "bioacid"
#define SEARING "searing"

// todo: these things should be damage modes / flags

#define CUT "cut"
#define BRUISE "bruise"
#define PIERCE "pierce"

#define STUN "stun"
#define WEAKEN "weaken"
#define PARALYZE "paralize"
Expand Down
7 changes: 7 additions & 0 deletions code/__DEFINES/hardsuits/breaches.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
//* This file is explicitly licensed under the MIT license. *//
//* Copyright (c) 2024 Citadel Station Developers *//

//* /datum/hardsuit_breach breach_type's *//

#define HARDSUIT_BREACH_TYPE_BRUTE "brute"
#define HARDSUIT_BREACH_TYPE_BURN "burn"
10 changes: 10 additions & 0 deletions code/__DEFINES/mobs/wounds.dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//* This file is explicitly licensed under the MIT license. *//
//* Copyright (c) 2024 Citadel Station Developers *//

//* Wound types *//

#define WOUND_TYPE_CUT "cut"
#define WOUND_TYPE_PIERCE "pierce"
#define WOUND_TYPE_BRUISE "bruise"
#define WOUND_TYPE_BURN "burn"
#define WOUND_TYPE_OTHER "other"
Loading

0 comments on commit c4fd68c

Please sign in to comment.