Commit Graph

477 Commits

Author SHA1 Message Date
Exxion
43f841e115 Movecode update for 514 except it works this time (#31154)
* This stuff

* Mostly works?

* Vaguely kind of almost working

* whatever

* Updates for newer code

* REAL updates for new code

* Actually works, apparently

* Details

* Oops
Mistake while resolving conflicts

* Steals Damian's solution

* change_dir()

* Missed a couple

* I swear this didn't show up in my search for some reason

* Update code/game/atoms_movable.dm

Co-authored-by: DamianX <DamianX@users.noreply.github.com>

* Update code/game/atoms_movable.dm

Co-authored-by: DamianX <DamianX@users.noreply.github.com>

* Can no longer sometimes crawl through walls
Kind of?

* Cleanup and fixes

* Workaround

* Fixes

Co-authored-by: DamianX <DamianX@users.noreply.github.com>
2021-11-03 08:09:35 -05:00
DamianX
a4438724c9 Changed all relative paths to absolute (#31078) 2021-10-18 16:28:55 -05:00
kane-f
181bec92a0 Area portal turfs (#31054)
* Area portal turfs

* Indentation

* Define

* Making it this instead

* Removing these

* Renaming vars

* Even more code removal

* Adding more to map

* Adding relative move option to make this much easier

* Adding relative move option to make this much easier

* Block gases for now

* Check fixes

* Indent fix

* .tgm map

* Fixing map include

* Enabling looping

* Final tweaks and they are confirmed working

* Removing infinite loop zlevel in init until it's working

* The backrooms...

* Explosions and EMPs

* ZAS handling, maybe

* Adding type info back

* Adding lights to backroom

* Making this work with lighting

* Sanity

* More

* Fix

* Making turf again

* Re adding vars

* Fix

* Fix

* Reverting entire file, no need to touch it

* Last map fix

* Playing sound across area portals

* Shuttle rotate support

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-10-18 12:16:47 -05:00
kane-f
5bd2f9a6ab Multi-Z ZAS in new connection system hotfix (#31049)
* Multi-Z ZAS connection in new system hotfix

* Fix

* Fix

* Using defines as suggested

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-10-11 13:05:08 -05:00
Exxion
6ad27a0d4a Removes connection_manager (#31016) 2021-10-10 13:07:13 +02:00
Exxion
e4ae7ab766 Minor ZAS fixes (#30830) 2021-09-21 21:29:04 +02:00
Shifty
7be042441a the meat of it 2021-09-18 14:25:35 +01:00
ShiftyRail
409ae193c2 The Postman always ring twice (#30551)
* Revert "Revert "Revert "Lights out tonight (trouble in the Heartland) (#30526)" (#30527)" (#30529)"

This reverts commit 5ae655387f.

* fixes urgent problems

* fixes the problem with zooming out

* gliding

* on the beach

* suffer not the lag

* fixes mesons and fire
2021-09-07 09:58:07 +01:00
Kurfursten
5ae655387f Revert "Revert "Lights out tonight (trouble in the Heartland) (#30526)" (#30527)" (#30529)
This reverts commit 2a0cec3fda.
2021-09-05 18:22:30 -04:00
ShiftyRail
2a0cec3fda Revert "Lights out tonight (trouble in the Heartland) (#30526)" (#30527)
This reverts commit eb21803691.
2021-09-05 17:14:55 -05:00
ShiftyRail
eb21803691 Lights out tonight (trouble in the Heartland) (#30526)
* Revert "spark machine (#30524)"

This reverts commit 7fc876a34d.

* Revert "This is why we can't have nice things (#30520)"

This reverts commit 6f7fbe95c1.

* Revert "Europa Lights 2021 - version 3 - wall shadows working edition (#30497)"

This reverts commit c03b442604.
2021-09-05 23:02:14 +01:00
ShiftyRail
c03b442604 Europa Lights 2021 - version 3 - wall shadows working edition (#30497)
* step1: compiles

* readds shadow atoms

* attempt at making spess dark

* planes fuckery

* forceMove fixes

* mouse opacity fixes

* moving to the europa light jargon

* rational brightness ranges

* re-adds moody lights

* sunglasses : compile check

* readds vampire vision

* No stacking of overlays, pt. 1/2

* makes wall shadows NOT ass

* toggle darkness

* compile

* sacrifice my firstborn to the linter gods

* test one

* uh

* europa lights mapping

* fireaxe cabinets

* Doing surgery on maps: deff

* removed herobrine

* map surgery: metaclub

* map surgery: synergy

* maps surgery, low fat bagel

* makes this compile

* more edge cases (haha)

* forgot these features

* blur: on

* wizzie den dark

* fixes the thunderdome
2021-09-05 13:54:34 -05:00
kane-f
84bf965ae8 Multi-z 3: With a vengeance (#30178)
* fix map

* Fixing bad syntax

* Maybe this will work

* Travis wanted me to remove this

* Unticking attempt

* Unticking attempt 2

* Removing all useless broken zshadow stuff

* Maybe now?

* Oh weird

* Adding up/down pipe sprites

* Adding darkness overlay, attempt #1

* Second attempt, now works

* Turf tweaks, now much less visually glitchy, plus walls now make blank floors above them for less weirdness

* Fix, plus keeps this floor in place

* Really bad fix that stops space looking weird

* Now everything should work normally, except lighting overlays

* Updates the map

* Consistency

* Adds new fall damage sound

* Typo

* Jetpack fun

* Better

* Less bad brackets and parantheses pain

* OHhh

* These fly too, brooms next whenever I figure those out

* Finishing pipe icons

* Making it easier to build catwalks and stuff on turfs without clicking the stuff below by mistake

* Bringing back zshadow, but with no icon

* Oh it's this issue again

* Final fix, better attempt at image relay

* Now for it looking nice, vis_contents are bad here too

* Attempt at refactoring this, light overlays are now finally underneath players, at the cost of blocking everything else, but exxion wanted to testmerge it

* Map change

* Changing it back, test server stays on box anyways

* Removing non-working solution

* Removes broken lighting overlays

* Finally fixes up floor generation above walls

* Adding bones of a 3d implementation of spiral block for git push origin multizfungit push origin multiz

* More, almost done

* Finalised

* Cube option

* Logic fix

* Syntax

* Attempting to make item fall on arc

* Compile

* Now this is no longer needed

* BRACE FOR ENABLING MULTI-Z ZAS

* Attempt at fixing glass floor tiles

* Splitting off explosion proc into destroy part, bones of calling it recursively and smaller on above and below layers, implementation of multi-z explosion suggested by DeityLink

* Missing var

* Removing unused var and fixes consistency

* Fixing logic and syntax etc, still needs testing before uncomment

* Uncommenting, some fixes too

* Makes this a seperate function otherwise it won't call at all, MULTI Z EXPLOSIONS NOW CONFIRMED WORKING

* Client proc to test this

* Adds to list

* Typo not drawing red on main layer

* Here too

* Adding debug logs for clarity

* Better

* Even better

* Experimental multi-Z EMP support, cylindrical effect for now

* Better distance falloff

* Sound/visual support on other layers?

* Z cap for EMP sound

* Booms too

* Adds back accidentally deleted file

* Muuuch more sane check

* Attempt at connecting heard speech between multi Z

* Cleaner

* Missing bracket

* Removing zshadow mobs entirely again, no need for them whatsoever

* Multi-z visible messages

* Emotes

* Fix?

* Wew

* K

* Much nicer function

* I forget about this define

* Ohhhh

* Comma fix

* Aaa

* This might fix

* Removing visible message one for now

* Trying this solution

* Typo

* RIP location, hope this won't break anything

* Actually location gets to come back, fix is here

* I give up, the tests are clearly what's borken

* Let's see what this does with those nullspaces test items (yes really)

* Indent fix, plus nice comments

* MULTI-Z SOUND???

* Woops

* Jetpack and etc trails over open space now!

* No macros, this is why we can't have nice things

* Watch how coder stops potion of levitation, broom and fairy wing wielders from falling with ONE NEAT TRICK

* Gotta make leapers not fall somehow

* Bad oversight

* Fully allows going down stairs with weird border objects

* Flying now works properly for humans on open space

* Now, fall instantly on stop

* Oversight

* Oh this function

* New helper functions

* Oversight again

* Replacing lines with abs(), multi z singulo pull attempt

* Quick supermatter fix

* Don't cut overlays

* Move down here

* Typo

* Now actually works, implementation could be better though

* Additional helper function for z distances because BYOND hates comparing z

* Reimplementing for sound

* abs() to keep positive for max comparisons in line distances

* Keeping gas overlays outside of multi-z viewing to stop some glitches

* That didn't work

* Testing removal from float planes for stuff that never needed to be on it

* Fixes gas overlays showing up all wrong in multi Z ZAS

* Gutting this controller, no longer needed period, system works fine without it

* Now glass floors look mostly perfect on open spaces

* Var name change for fun stuff later

* Knew I'd miss one

* Gravity based fall delay?

* Settle with using sleep() for now, what could go wrong?

* Lagged the game horribly, so everything

* Here all along, huh

* Just remove it for now, it kinda works but not ideally at all

* Thank you TK code for giving me a nice and working way to do this

* Comments, oversights

* No wait it was right the first time

* Now for the damage multiplier

* Knockdown too

* Nicer format

* This should still be min, plus now have a debug log and shifted around logic

* Now for mech stuff

* Clamping knockdown

* Definition fix

* Dusting this off, hopeful fix to things not falling

* Probably don't need this, I forget

* Hahaha nope, this did nothing

* Finally, a way to make fall() call in mid air after a delay without horrible lag

* Tunes pipe layering if on same zlevel, getting there

* Now fully tuned

* Adding bones for pipe item support

* Test

* z_up pipe item icon state

* z_up and z_down pipe item icon state

* Adding these to pipe dispensers

* Typo

* RCDs too

* Moved here

* Moved back

* Makes space work nicer

* Oh and here

* Fall updates

* Don't need this

* Oversights everywhere

* Fixes

* More

* More, and new stuff

* Even more

* Dampening these a bit

* So many, so moved to new file

* Forgot this

* Refactor

* Forgot to actually use

* Indentation issues

* Works better like this

* Refactors into nicer proc

* One oversight

* Stair frames, to construct into stairs

* Stack recipe for em

* Cutting useless stuff

* Fixes

* Last fixes

* Stops uncrossing at non existant aboves

* Better logic

* Better logic

* Fix

* Fixes nullspace checking runtime

* Removes redundant check on stairs

* Replaces CanPass with Cross, functionality is same and definition is duplicate of it

* Missed one

* Darkening and falling tweaks

* Better call for gravity

* Oversight

* Stops falling in space, zero-g open space movement fixes etc

* Consistency

* Fixes slipping on open spaces with catwalks (lattices make sense I guess) and stairs not being snapped down to

* Var name fix

* Much nicer system with no recursive function or last_fall variable use

* Adds buildFrom()s so z-pipes can actually be fitted, stops spam of fall() calls on enter with lock for nicer gravity

* Makes z distances pay attention to multi z support

* Maybe this is better

* Left this in

* Adding visible and hidden variants for mapping

* Counts glass floors as open space for the purpose of open space checks

* Bracket fix

* Makes it a macro for easy viewing

* Space looks much better like this honestly

* Makes schematics actually show up on RPD in multi-z

* Making these tied to WORLD_ICON_SIZE

* Changes for someone to test

* Now the fix actually works

* Removes forceMove(), nicer solution

* Giving stairs all their dirs

* Fixing stair position problem and other things

* Stair deconstruction

* Removing redundant enter() check to move()

* Some updates as requested

* .dme and map/file fixes

* .dme and map/file fixes

* Updating can_falls

* Ladder climb fix

* Some port notes updates

* Docs itself

* Removing unused edge_type var

* Removing landmark object, converts it code side

* Removing unsimmed walls doing it, not necessary

* Updated descs

* Fixing observer non-standards in file

* More file cleanup

* Jetpacks allow z-travelling

* Now they really do

* Robots too

* Updating docs

* Code cleanup

* Catch one

* Indent fix

* Not sure what that even is

* Catching these

* Applying some old fixes

* Removing unused file

* Moving nodes back to original places, or an attempt to

* Here too

* Removing unused file

* Moving these back too

* Some fixes for now

* Some more

* Even more, almost done

* Better pipe icons

* More icons

* Disposal pipe construction

* Mixup

* List optimisation, new fixes

Co-authored-by: Damian <damian@autistici.org>
Co-authored-by: kanef <kanef9x@protonmail.com>
2021-08-27 08:14:13 -05:00
DeityLink
883ba42d5a Airflow-induced knockdowns on non-human mobs now last depending on the airflow differential (#30269) 2021-08-19 11:03:47 +00:00
kane-f
da528063d7 Refactors effect/effect into effect (#30138)
* Refactors /obj/effect/effect into /obj/effect

* Fixes these

* And these

* And these

* Fixes stuff not being clickable

* Fixes .dme real quick

* Removes now-redundant vars

* This too

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-08-11 15:19:06 -05:00
DeityLink
fd435d15e9 FixZASsplatterNoBlood (#30070) 2021-07-23 16:53:55 -05:00
Exxion
dba1ca7b0e Revert "Europa lights 2021 (#29551)" (#29851)
This reverts commit 4c25cd6b62.
2021-06-20 22:25:47 +01:00
ShiftyRail
4c25cd6b62 Europa lights 2021 (#29551)
* Mapping changes

* code changes

* conflicts part1

* icons

* wrong remote

* box compiles

* synergy

* fix linter

* review

* Documentation

* Packed mapping

* light tiles? idk

* Metaclub. God there's a lot of lights

* Reduced power costs

* Deff mapping update

* Synergy

* Dam's review

* Damian's review part 2

* linter

* maybe fix schrodinger's lights once and for all?

* the absolute icon_state

* grammar

* nevermind

* review

* gues

* europa lights roidstation (#10)

* Lowfat bagel

* last box touches

* i'm dumb

* klh

Co-authored-by: SonixApache <SonixApache@users.noreply.github.com>
2021-06-20 14:29:59 -05:00
rob
f206310536 adds a dwarven equipment box to people's backpacks on dorfstation (#29786)
* dorfbox

* dorfbox

dorfbox

* shut up

* dorfbox

dorfbox

* dorfbox

dorfbox

* dorfbox

* pbbt

* oh
2021-06-16 19:46:40 -05:00
Kurfursten
d034a7365e Cloud IX Crate (#29100)
* Cloud IX Crate

* add atom

* and removes duplicates

* progress

* Just changing a couple more files

* finished

* fixes
2021-05-04 16:15:37 +02:00
Exxion
96397423c4 Makes object burning slightly less bad (#29030)
* Makes object burning slightly less bad

* Related style changes
2021-03-19 08:56:19 -03:00
Exxion
ee6e2ddeb0 Makes gas overlays ACTUALLY mouse transparent (#28875) 2021-02-21 16:06:39 -06:00
Exxion
d84ee91748 Tunes up zone rebuilding (#28874)
* Tunes up zone rebuilding

* Fuck off
Why is that even a lint?
2021-02-21 16:05:17 -06:00
jjpark-kb
fe31cb0664 SMs will now dust you if it runs into you (#28359)
* SMs will now dust you if it runs into you

* including the unit tests

* attempt two at merging the unit tests

* every gosh dang time, indentation fix
2020-12-18 18:17:40 -06:00
DamianX
7830e7c6d7 Gas overlays no longer capture clicks (#28002) 2020-10-13 07:52:44 -03:00
gurfan
7a451484f4 Moves oldviro symptoms and transformation viruses to current virus system (#27946)
* progress

* finish transformation symtoms, add dnaspread

* toxic compensation, move petrification out of viro, wendigo transform

* firt compile, fix errors

* finish up move to virus 2, fix some symptoms

* fix effects

* rework into seperate stages, add stage 1

* cyborg virus done

* mommi part one

* finish mommi virus

* plasma fixes, finish xeno disease, work on wendigo disease

* fix

* global disease hell

* add uplink item

* fix mommiviroos

* rename

* edit desc

* fuggen typo

* static type...?

* oh duh

* adjust colors

* capitalize

* use proce

* remove bundle

* actually remove bundle

* make the proc dothe thing

* move that

* fix
2020-10-10 16:14:07 -05:00
DamianX
bef81d7aae Bump code cleanup (#27608) 2020-08-25 19:08:29 -03:00
DamianX
9efa3f14f2 Fixed holodeck hard dels (#27415)
* Fixed holodeck hard dels, MURDERED VARIABLE COPYING

* air but differently

* Add return type hint
2020-08-09 15:21:10 +02:00
DamianX
e811ce6a21 The last batch of linter fixes (#27039)
* Added arguments to all gib() implementations

* Fixed ai/login.dm

* add arguments to remaining gib() impls

* i forgot this motherfucker's gib() arguments

* added type hint to global_runesets

* fixed weird for loop

* fixed blisterol not doing anything

* added a bunch of type hints

* wipe from the face of the earth the fuckery with the buckle verbs

* added type hints to the cmc

* Fixed arguments to apply_damage
2020-07-08 10:02:16 -03:00
Exxion
050a07e785 Excises almost all version checks (#26877) 2020-06-18 08:24:29 -03:00
Exxion
d7f9bac43c Thermoelectric Coolers (#25837)
* TEC v1

* TEC radio, etc.

* Buff a bit

* TEC stuff again
2020-02-26 11:37:49 -06:00
Goldsteel
342706374f Logs ZAS changes to admin_log (#25224) 2019-11-29 13:15:50 -06:00
Shadowmech88
708b7f0975 Fixes Objects Burning Forever (#24727)
* Fixes items being on fire forever.

* Adds requested changes.
2019-11-11 10:16:23 -06:00
Exxion
4d7a2df990 Renamed Clamp() to clamp() 2019-10-25 17:18:20 -04:00
MadmanMartian
a91b458f87 friggin golden throne (#24092) 2019-09-06 13:45:00 -04:00
MadmanMartian
d1d98ab975 Airflow sucking you no longer continues after you've finally gotten up and tried to move away, or have made yourself unmovable (magboots on, magbites consumed, etc.) (#23287)
Airflow stun time now depends on the differential that causes said airflow stun. Falling over from a 5kpa difference is no longer equivalent to falling over from a gas giant passing over you.
2019-06-23 16:45:43 -03:00
Exxion
2671f6d75e Increase fire_fuel_energy_release again (#21980) 2019-03-09 11:39:47 -06:00
Exxion
a6ee572e1d Fixes ancient bugs with fire (#21782)
* Fixes ancient bugs with fire

* Double fire_fuel_energy_release

* Prespawned bombs no longer use a terrible mix
2019-03-07 12:17:11 -06:00
MadmanMartian
7bfcb84662 Merge pull request #20298 from ShiftyRail/SyndieShoes
Slip refactor
2019-02-12 21:33:55 +00:00
Shifty/Anthomansland
c591909e04 No fun allowed 2019-02-12 22:13:02 +01:00
Intigracy
a33e19796c fixes a few instances of showing antag on key_name() where it shouldn't (#21293) 2019-01-14 21:04:07 +00:00
Shifty/Anthomansland
3e1bc4b7f5 Conflicts + grammar 2019-01-09 16:51:14 +01:00
Exxion
14a03cd000 God DAMN it (#20870) 2018-11-30 06:08:54 -03:00
Exxion
8d744f2e2d Minor XGM changes (#20855)
* Moves things around, changes comments, fixes overlay plane

* Lummox-approved

* These procs being able to return null was always a terrible idea

* Oops
2018-11-29 11:43:50 -03:00
ShiftyRail
8032ee03fc Slip rework part 1 2018-10-18 18:53:21 +00:00
Exxion
01bc6a8651 Adds XGM panel (#20045)
* Refactor

* XGM Panel

* Icon
2018-10-10 09:23:20 -03:00
Exxion
95b2c3c8fb Potentially fixes bad problems with fire, and definitely fixes a completely different bad problem with fire (#19870)
* Probably good

* This is equivalent

* Fuck it
2018-10-01 10:38:04 -03:00
Exxion
4fb0970171 Fixes hella runtimes (#19856) 2018-09-28 19:31:44 -03:00
Exxion
c6a7e5098e Defines (#19835) 2018-09-27 14:50:54 -07:00
Exxion
7f0bf326a4 XGM (#19802)
XGM
2018-09-27 17:51:16 +02:00