Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Power laser port 2 electric bogaloo #27171

Merged
merged 145 commits into from
Nov 25, 2024
Merged
Show file tree
Hide file tree
Changes from 109 commits
Commits
Show all changes
145 commits
Select commit Hold shift + click to select a range
dc79d10
wip
Migratingcocofruit Sep 21, 2024
8dd7c26
some formatting and copying over UI
Migratingcocofruit Sep 21, 2024
f01adc7
it compiles now
Migratingcocofruit Sep 21, 2024
efa1b2a
oops
Migratingcocofruit Sep 21, 2024
3a3034b
Moves WATT_TICK_TO_JOULE to the power defines file. fixes UI
Migratingcocofruit Sep 21, 2024
7a056e9
spelling and announcement fixes
Migratingcocofruit Sep 21, 2024
e642ff1
Handle offsets for different directions
Migratingcocofruit Sep 21, 2024
21f1d31
laser comes from the correct tile now
Migratingcocofruit Sep 21, 2024
f4d0ea7
Added north and south sprites for the laser
Migratingcocofruit Sep 21, 2024
7895379
Adjust offsets for north and south sprites
Migratingcocofruit Sep 21, 2024
85c6a7c
finished all north and south sprites
Migratingcocofruit Sep 22, 2024
812bed7
tgui rebuild. Also sprites and code begoon
Migratingcocofruit Sep 23, 2024
16b5e23
put PTLs in maps
Migratingcocofruit Sep 28, 2024
f197575
Repositions PTL room door in cyberiad
Migratingcocofruit Sep 28, 2024
a077858
fix if spacing
Migratingcocofruit Sep 28, 2024
45a2a05
undef and unundeffed define
Migratingcocofruit Sep 28, 2024
11b0a34
Removed overlapping stuff in some maps
Migratingcocofruit Sep 28, 2024
f54e345
Actually makes the changes to metastation
Migratingcocofruit Sep 28, 2024
f5b071e
Fixes more mapping stuff
Migratingcocofruit Sep 28, 2024
c1e8412
Fix more unit test failures
Migratingcocofruit Sep 28, 2024
ae5b642
unmirror multitile component grid
Migratingcocofruit Oct 3, 2024
885ad67
Fixes multitile
Migratingcocofruit Oct 3, 2024
12e1d9e
explosions no longer make a hole in the beam
Migratingcocofruit Oct 3, 2024
d1f2b96
This should fix it
Migratingcocofruit Oct 9, 2024
cff9ec2
Stray pipe begone!
Migratingcocofruit Oct 9, 2024
e5c6bc1
Ok I think I fiigured it out
Migratingcocofruit Oct 9, 2024
2b3cdba
removes redundant removals of components parts and a redundant check.…
Migratingcocofruit Oct 10, 2024
d9b03df
Adds blocking to the beam and objects other than living beings take d…
Migratingcocofruit Oct 11, 2024
4912fdd
not using kwargs now. should work.
Migratingcocofruit Oct 11, 2024
6d8ebfb
Style changes and fixes some mobs getting hit by the laser that shoul…
Migratingcocofruit Oct 15, 2024
92f9783
Review changes and fixes trying to access wall turf's location.
Migratingcocofruit Oct 17, 2024
dd34d1b
allow the new wall turf to form to we can properly access it.
Migratingcocofruit Oct 17, 2024
8dcaed8
Moves the ptl beam effect to an atom proc that is overriden by the di…
Migratingcocofruit Oct 18, 2024
b41e1b2
Fixes some comments, adds clarifications, removes redundant usage of src
Migratingcocofruit Oct 19, 2024
4d1b00a
moves the announcement threshold to a global var. Fixes ghost interac…
Migratingcocofruit Oct 19, 2024
382e8af
Revert "moves the announcement threshold to a global var. Fixes ghost…
Migratingcocofruit Oct 20, 2024
c89c74a
Makes announcement threshold a static variable of the PTL
Migratingcocofruit Oct 20, 2024
1e4a7f3
power safty check on the mob ptl function
Migratingcocofruit Oct 20, 2024
a8c0b68
well alright then
Migratingcocofruit Oct 22, 2024
5407119
Revert "well alright then"
Migratingcocofruit Oct 22, 2024
90d2bdf
Fixes ghost attack
Migratingcocofruit Oct 22, 2024
6e52424
Sends credits to accounts 200 at a time to avoid spam.
Migratingcocofruit Oct 22, 2024
193c90c
fix box station stuff
Migratingcocofruit Oct 22, 2024
9b69367
fix the first announcement message
Migratingcocofruit Oct 22, 2024
5d930e2
fix the laser healing burn damage.
Migratingcocofruit Oct 23, 2024
2f9bc49
Only round the earnings being sent so we don't delete credits.
Migratingcocofruit Oct 23, 2024
95e5476
Give the high and medium cut ratios defines
Migratingcocofruit Oct 23, 2024
a969f0d
Fix and adjust some comments
Migratingcocofruit Oct 23, 2024
587580b
Uses the correct variable for the beam effects and fixes things being…
Migratingcocofruit Oct 23, 2024
09b0f08
Actually fixes qdeleted thing being thrown around error
Migratingcocofruit Oct 23, 2024
8c795a4
Fix the examine text
Migratingcocofruit Oct 23, 2024
0c77425
Prevents grills from blocking the beam.
Migratingcocofruit Oct 23, 2024
0c29ee0
Remove get_back_turf
Migratingcocofruit Oct 23, 2024
da0da1e
Make a blocker a UID instead of a ref
Migratingcocofruit Oct 23, 2024
ccca60f
limits capacity to 2000GJ
Migratingcocofruit Oct 23, 2024
c356501
replaces knobs with a number input
Migratingcocofruit Oct 23, 2024
ac0e009
Adds cameras to the rooms and a disposals bypass for faragus
Migratingcocofruit Oct 23, 2024
c812108
disallows pipes from being damaged by the beam
Migratingcocofruit Oct 23, 2024
b90d131
Gives the PTL directional variants for mapping
Migratingcocofruit Oct 23, 2024
5f0b740
Allows deconstruction and reconstruction of the PTL as well as rotati…
Migratingcocofruit Oct 23, 2024
7a2d2e3
Removes a redundant newline
Migratingcocofruit Oct 23, 2024
abdd65d
Removes all damaging effects of the beam and it's blocking abilities
Migratingcocofruit Oct 24, 2024
9d178f6
Finishes the job
Migratingcocofruit Oct 24, 2024
3711518
Remove the disposals bypass on faragus since the beam is truly visual…
Migratingcocofruit Oct 24, 2024
054e388
implements orbital beaming of megafauna near the base. Still need to …
Migratingcocofruit Oct 24, 2024
f9b16a9
Dusts lavaland mobs when they are killed by the laser and disabled lo…
Migratingcocofruit Oct 24, 2024
2e2ec2f
Add some minor hazards to the PTL
Migratingcocofruit Oct 24, 2024
eb96bde
Fix the hazards
Migratingcocofruit Oct 24, 2024
841e389
Improves PTL rooms
Migratingcocofruit Oct 24, 2024
bfda486
Fix some misplaced pipes and cables
Migratingcocofruit Oct 24, 2024
81b02ba
connect the disconnected pipes and cables in faragus
Migratingcocofruit Oct 24, 2024
8336e4b
minor map fixes
Migratingcocofruit Oct 24, 2024
e747cb1
more fixes and integrating faragus room a bit more
Migratingcocofruit Oct 24, 2024
fbf55a6
correct the flash reduction to apply when not looking directly at the…
Migratingcocofruit Oct 24, 2024
6cbff39
reduces the distance coefficient on the rads pulse
Migratingcocofruit Oct 24, 2024
b1965a4
Delta changes that apparently weren't committed earlier
Migratingcocofruit Oct 24, 2024
6a5bf1e
I think faragus is finally fixed.
Migratingcocofruit Oct 24, 2024
98e77d9
more mapping improvements
Migratingcocofruit Oct 24, 2024
fece174
fix wrong cable on faragus apc terminal
Migratingcocofruit Oct 24, 2024
c84928e
moves the HV cable for the laser so it follows the station's outline …
Migratingcocofruit Oct 24, 2024
577a4b4
fixes cables converging
Migratingcocofruit Oct 24, 2024
acb4f22
Routes the cable along the existing catwalks instead of additional on…
Migratingcocofruit Oct 24, 2024
494e1d8
adds missing cable in faragus
Migratingcocofruit Oct 24, 2024
62b5629
Merge branch 'master' into powerLaserPort
Migratingcocofruit Oct 25, 2024
0c411d2
rebuild tgui
Migratingcocofruit Oct 25, 2024
b63e0fc
Faragus mapping changes
Migratingcocofruit Oct 26, 2024
3878b36
Delta Changes
Migratingcocofruit Oct 26, 2024
0c4c1a6
Diagoras changes
Migratingcocofruit Oct 26, 2024
cf5a0a8
Meta changes
Migratingcocofruit Oct 26, 2024
b33d9eb
Cyberiad changes and placing a catwalk near the PTL for power measure…
Migratingcocofruit Oct 26, 2024
62a369d
Faragus review changes
Migratingcocofruit Oct 28, 2024
6d9db11
Merge branch 'master' into powerLaserPort
Migratingcocofruit Oct 30, 2024
2d2c77b
Rebuild TGUI
Migratingcocofruit Oct 30, 2024
2c3d982
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 4, 2024
f72a306
Rebuild TGUI
Migratingcocofruit Nov 4, 2024
ae1a4ed
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 8, 2024
75db383
tgui rebuild
Migratingcocofruit Nov 8, 2024
bc9eb03
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 9, 2024
58437c1
Rebuild TGUI
Migratingcocofruit Nov 9, 2024
c5c075e
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 10, 2024
41a7fa5
Rebuild TGUI
Migratingcocofruit Nov 10, 2024
a9c2f79
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 10, 2024
e42e1b1
Rebuild TGUI
Migratingcocofruit Nov 10, 2024
94e4ef2
Changes the announcement sound from the one used for command comms an…
Migratingcocofruit Nov 11, 2024
e21666a
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 14, 2024
6f50981
Rebuild TGUI
Migratingcocofruit Nov 14, 2024
947c678
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 14, 2024
b7418cb
rebuild TGUI
Migratingcocofruit Nov 14, 2024
8b4bcc4
Move button contents to child
Migratingcocofruit Nov 15, 2024
eb0ed61
Using the correct acronym for the power transmission laser in the int…
Migratingcocofruit Nov 16, 2024
6b48f55
Rebuild TGUI
Migratingcocofruit Nov 16, 2024
faee13a
change the folder name as well
Migratingcocofruit Nov 16, 2024
3e1e0d0
TGUI rebuild
Migratingcocofruit Nov 16, 2024
4b8bf55
Remove a redundant space from the first announcement message
Migratingcocofruit Nov 16, 2024
02e651b
Adds a door to the PTL room on Diagoras
Migratingcocofruit Nov 16, 2024
3f23c23
Lowers the amount of money generated to less absurd amounts.
Migratingcocofruit Nov 17, 2024
7519921
another adjustment
Migratingcocofruit Nov 17, 2024
0a3e95a
Fixes some walls in maints being in the space area
Migratingcocofruit Nov 17, 2024
da97cff
Merge branch 'master' into pr/Migratingcocofruit/27171
Burzah Nov 17, 2024
717e31d
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 18, 2024
8403890
fixes divide by 0 runtime
Migratingcocofruit Nov 20, 2024
b45ae43
prevents trying to read the icon of a null target
Migratingcocofruit Nov 20, 2024
53ef1fb
Makes power line on diagoras less jank and fixes flashes on lasers po…
Migratingcocofruit Nov 20, 2024
67c142e
Bundle Build
Burzah Nov 20, 2024
5eb7c42
Fixes the PTL being charged over it's capacity
Migratingcocofruit Nov 20, 2024
088e6a9
Makes the flash modifier angle based.
Migratingcocofruit Nov 20, 2024
71ba33a
adds an explanation of flashmod
Migratingcocofruit Nov 20, 2024
6cac213
Bundle Rebuild
Burzah Nov 20, 2024
9649b19
Adjusting curve so less powerful engines are better rewarded
Migratingcocofruit Nov 21, 2024
3e0c958
Changes the grid saturation to be based on input rather than output.
Migratingcocofruit Nov 21, 2024
a5f2943
Removes the PTL announcements and adds total energy sold to the UI
Migratingcocofruit Nov 22, 2024
9ab6a65
Adds the amount of energy exported(in GJ) to the end of round score card
Migratingcocofruit Nov 22, 2024
0abbadd
Credit cap nerf
Migratingcocofruit Nov 22, 2024
71e28c5
Review changes
Migratingcocofruit Nov 23, 2024
72f56b6
missing space
Migratingcocofruit Nov 23, 2024
bef963c
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 23, 2024
fe4a08f
Merge branch 'master' into powerLaserPort
Migratingcocofruit Nov 23, 2024
c990d93
Revert "Merge branch 'master' into powerLaserPort"
Migratingcocofruit Nov 23, 2024
198ae4d
Reapply "Merge branch 'master' into powerLaserPort"
Migratingcocofruit Nov 23, 2024
e8ae871
Fixes all the wrong path issues from the merge
Migratingcocofruit Nov 23, 2024
524374a
actually resolve the merge conflicts that somehow got automerged
Migratingcocofruit Nov 23, 2024
3a4226f
Should be all the duplicates
Migratingcocofruit Nov 23, 2024
f5d449d
Rest of the duplicates I missed
Migratingcocofruit Nov 23, 2024
d17e057
remove lonely pipe and cable in faragus
Migratingcocofruit Nov 23, 2024
530c0c8
some more uncaught duplicates
Migratingcocofruit Nov 23, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3,346 changes: 1,705 additions & 1,641 deletions _maps/map_files/generic/Lavaland.dmm

Large diffs are not rendered by default.

1,038 changes: 711 additions & 327 deletions _maps/map_files/stations/boxstation.dmm

Large diffs are not rendered by default.

2,952 changes: 2,015 additions & 937 deletions _maps/map_files/stations/cerestation.dmm

Large diffs are not rendered by default.

1,116 changes: 910 additions & 206 deletions _maps/map_files/stations/deltastation.dmm

Large diffs are not rendered by default.

747 changes: 660 additions & 87 deletions _maps/map_files/stations/emeraldstation.dmm

Large diffs are not rendered by default.

735 changes: 586 additions & 149 deletions _maps/map_files/stations/metastation.dmm

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions code/__DEFINES/announce_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@
#define ANNOUNCE_KIND_MAJOR "NAS Trurl Update"
#define ANNOUNCE_KIND_EVENT "NAS Trurl Update" // Intentionally the same as above
#define ANNOUNCE_KIND_AI "A.I. Announcement"
#define ANNOUNCE_KIND_PTL "Power Transmission Laser report"
3 changes: 3 additions & 0 deletions code/__DEFINES/power_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -46,3 +46,6 @@
#define KJ * 1e3
#define MJ * 1e6
#define GJ * 1e9

/// Conversion ratio from Watt over a machine process tick time to Joules
#define WATT_TICK_TO_JOULE 2
1 change: 1 addition & 0 deletions code/_globalvars/lists/mob_lists.dm
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ GLOBAL_LIST_EMPTY(mob_living_list) //all instances of /mob/living and subtypes
GLOBAL_LIST_EMPTY(carbon_list) //all instances of /mob/living/carbon and subtypes, notably does not contain simple animals
GLOBAL_LIST_EMPTY(human_list) //all instances of /mob/living/carbon/human and subtypes
GLOBAL_LIST_EMPTY(alive_mob_list) //List of all alive mobs, including clientless. Excludes /mob/new_player
GLOBAL_LIST_EMPTY(alive_megafauna_list) //List of all living megafauna
GLOBAL_LIST_EMPTY(dead_mob_list) //List of all dead mobs, including clientless. Excludes /mob/new_player
GLOBAL_LIST_EMPTY(non_respawnable_keys) //List of ckeys that are excluded from respawning for remainder of round.
GLOBAL_LIST_INIT(simple_animals, list(list(), list(), list(), list())) //One for each AI_* status define, List of all simple animals, including clientless
Expand Down
7 changes: 7 additions & 0 deletions code/defines/procs/announcer_datum.dm
Original file line number Diff line number Diff line change
Expand Up @@ -174,3 +174,10 @@ GLOBAL_DATUM_INIT(major_announcement, /datum/announcer, new(config_type = /datum
log_name = ANNOUNCE_KIND_AI
sound = sound('sound/misc/notice2.ogg')
style = "major"

/datum/announcement_configuration/ptl
default_title = ANNOUNCE_KIND_PTL
add_log = FALSE
sound = sound('sound/misc/notice2.ogg')
style = "major"

2 changes: 2 additions & 0 deletions code/game/area/areas/mining_areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -172,3 +172,5 @@
icon_state = "danger"

/area/lavaland/surface/outdoors/explored

/area/lavaland/surface/outdoors/targetable
4 changes: 4 additions & 0 deletions code/game/area/ss13_areas/engineering_areas.dm
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,10 @@
name = "\improper Gravity Generator"
icon_state = "gravgen"

/area/station/engineering/transmission_laser
name = "\improper Power Transmission Laser"
icon_state = "engi"

/area/station/engineering/ai_transit_tube
name = "\improper AI Minisat Tranit Tube"
icon_state = "ai"
Expand Down
3 changes: 0 additions & 3 deletions code/game/gamemodes/miniantags/pulsedemon/pulsedemon.dm
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@
#define ALERT_CATEGORY_NOPOWER "pulse_nopower"
#define ALERT_CATEGORY_NOREGEN "pulse_noregen"
/// Conversion ratio from Watt ticks to joules.
/// Should be a pulse demon's life tick length in seconds.
#define WATT_TICK_TO_JOULE 2

/mob/living/simple_animal/demon/pulse_demon
name = "pulse demon"
Expand Down Expand Up @@ -867,4 +865,3 @@
#undef PULSEDEMON_PLATING_SPARK_CHANCE
#undef PULSEDEMON_APC_CHARGE_MULTIPLIER
#undef PULSEDEMON_SMES_DRAIN_MULTIPLIER
#undef WATT_TICK_TO_JOULE
1 change: 1 addition & 0 deletions code/game/gamemodes/miniantags/revenant/revenant.dm
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@
// No other state is happening, therefore we are stunned
icon_state = icon_stun


/datum/objective/revenant
needs_target = FALSE
var/targetAmount = 100
Expand Down
1 change: 1 addition & 0 deletions code/game/turfs/simulated/walls_indestructible.dm
Original file line number Diff line number Diff line change
Expand Up @@ -300,3 +300,4 @@ GLOBAL_DATUM(title_splash, /turf/simulated/wall/indestructible/splashscreen)
smoothing_flags = SMOOTH_BITMASK | SMOOTH_DIAGONAL_CORNERS
smoothing_groups = list(SMOOTH_GROUP_SIMULATED_TURFS, SMOOTH_GROUP_WALLS, SMOOTH_GROUP_SYNDICATE_WALLS)
canSmoothWith = list(SMOOTH_GROUP_SYNDICATE_WALLS, SMOOTH_GROUP_AIRLOCK, SMOOTH_GROUP_SHUTTLE_PARTS)

Loading