Commit Graph

619 Commits

Author SHA1 Message Date
DeityLink
fcda492686 Fixed mice and astral projections being able to do stuff they shouldn't (#30378) 2021-08-27 22:52:48 +00: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
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
kane-f
b715a2049c (Revival) Allows slime extracts to act as upgrades for stuff around the station (#29936)
* green slimes make a tray's plants immortal

* blue slime makes foam extinguishers dope again

* orange slime will provide a pepper spray with unlimited capsaicin

* adds missing return statements

* oil slimes attach to pickaxe type things and make them dig AoE

* fixes wrong type in attackby formal params

* black slimes can attach to a chemistry dispenser to make DD easier to cook up

* metal slimes let rpd's build pipes on all layers at once

* YOU WILL COMPILE

* makes multilayer work correctly

adds red slimes allow autowrenching

* socket wrenches can have a bluespace slime attached, which stops the gas from leaking out into the room

* changes the autowrench on RPD to yellow slime

* upgraded foam extinguishers now have 16K foam

* nerfs the pickaxe upgrade by 50%, now 1x3 like ripley

* slight name change so it fits on the chem dispenser ui

* Update code/game/objects/items/weapons/tools.dm

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update code/game/objects/items/weapons/tools.dm

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update code/modules/hydroponics/hydro_tray.dm

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update code/modules/mining/mine_items.dm

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update code/modules/RCD/RPD.dm

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* Update code/modules/hydroponics/hydro_tray.dm

Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>

* variable changed name

* Testing out new slime_act() method

* Socket wrenches

* RPD, hydro trays

* Pepper sprays, pickaxes

* Chem dispenser, beginning rework of act function

* Now makes qdel work right

* Fix compile errors

* And another

* Aaand some more

* Maybe this?

* Oh

* Moves this up to object level, less redundant

* Refactor of has_slime check

* Indentation

* Indent fix

* pls pass test

Co-authored-by: tianyou <fuckgit@fuckyou.git.fuck>
Co-authored-by: hbycyl <36418376+hbycyl@users.noreply.github.com>
Co-authored-by: Paul Ritter <ritter.paul1@googlemail.com>
Co-authored-by: 天佑 <meitianyou94@gmail.com>
Co-authored-by: kanef <kanef9x@protonmail.com>
2021-07-13 17:43:50 -05:00
DeityLink
2afa3a8e5e allow mass pipe painting to work with pipe end caps (#29955) 2021-07-11 15:14:24 -05:00
DeityLink
bdfe03a599 fix planes (#29958) 2021-07-04 19:16:28 -04:00
DeityLink
d28925fe47 Clumsy people using a zippo have a chance to set themselves on fire with class when lighting their cigarette (#29856)
* set yourself on fire with class

* types
2021-06-22 14:08:21 -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
DeityLink
33e9f00d35 Prevents Space Heaters and Cult Forges from heating up the non-existent atmosphere of a vacuum (#29653)
* prevent heating in a vacuum

* vacuum

* vacuum 2
2021-06-02 18:27:44 -05:00
rob
afd51afe57 adds many periods to many descriptions (#29577)
* its very nice! so full of spice!

* .

* gangstalked

* more

* sorry for breaking the entire thing by accident

* f*ck you zth!!!!
2021-05-30 23:12:45 +02:00
DeityLink
4c7a51d940 heat caps (#29495) 2021-05-10 16:35:09 -05:00
DeityLink
02a251aff1 Not My Cap (#29452) 2021-05-06 03:33:48 -05:00
DrSnips
1ce25ff1b7 Re-paths tools, adds a parent for them, and moves some welder code to the proper place. (#29257) 2021-04-19 10:53:30 +02:00
Kurfursten
7c41613c52 Snaxi Cabin Update (#28432)
* Snaxi Cabin Update

* New gear
2020-12-22 08:03:31 -03:00
Kurfursten
89aa62188f Geyser HF (#28427) 2020-12-19 21:13:14 -03:00
Kurfursten
b0c31bd9ef Geysers Improved (#28378) 2020-12-18 16:35:11 -03:00
Exxion
d40e160af8 Don't even ask (#28351) 2020-12-10 08:04:21 +01:00
Kurfursten
4335c67346 Vesta Power (#28301) 2020-12-09 11:14:45 -03:00
toomykins
ba6e39289a fix stoves/fireplaces being turned into campfire decals (#28014)
* Update spaceheater.dm

* Update spaceheater.dm

* brap

* rename proc

* Update spaceheater.dm

* Update spaceheater.dm
2020-10-23 02:08:04 +02:00
gurfan
0534fe5aa3 Malfunctioning AIs: Fix Overload Machine not working on some machines (#27848)
* blcaklist, add intercom

* fix

* re-rework into a proc

* add these
2020-10-04 16:11:52 -03:00
Exxion
09b5eee41b Fixes thermal plates (#27682)
* Cleanup

* Fixes thermal plates
2020-08-29 13:53:02 -03:00
Exxion
d8eb32575b Fixes pipelines and their gas_mixtures hard deleting (#27551)
* WIP

* Now it works, I think
2020-08-14 11:49:17 -03:00
Exxion
e038c90164 Fixes pipelines wiping their gas when having new pipes attached (#27412)
I cannot fucking believe I couldn't see the cause before
2020-08-07 14:17:19 -03:00
DamianX
43326fc0c9 Fixed cleanables hard dels, removed manual New() calls (#27255) 2020-07-25 09:05:42 +02:00
DamianX
d4d08bfef5 Fixed implementations of Destroy() not calling parent (#27068)
* Fixed implementations of Destroy() not calling parent

* I forgot to commit garbage.dm
2020-07-11 21:27:05 +02:00
SonixApache
9fa1543cd2 allows most atmos stuff to be colored again (#27047)
* allows most atmos stuff to be colored again

* these are blacklisted
2020-07-10 18:09:55 +02:00
DamianX
f5c96279c6 Removed datum pooling (#26992)
* removed pooling

* replace returnToPool with qdel

* did stuff
2020-07-03 19:38:38 -03:00
ShiftyRail
eeb24fd031 Expunges hasvar() (#26846)
* Expunges hasvar()

* removes whitespace

* remove
2020-06-26 09:55:08 +02:00
ShiftyRail
8021aaf539 Working version of radio controller fixes (#26914)
* Revert "Revert "Fixes oldcoder stuff with radio controllers (#26845)" (#26868)"

This reverts commit cb1613403b.

* Fixes the bag

* No bug
2020-06-21 05:39:36 +02:00
DamianX
cb1613403b Revert "Fixes oldcoder stuff with radio controllers (#26845)" (#26868)
This reverts commit 6beff86079.
2020-06-17 01:16:55 -05:00
ShiftyRail
6beff86079 Fixes oldcoder stuff with radio controllers (#26845)
* Fixes oldcoder stuff with radio controllers

* Other

* if()
2020-06-16 23:07:23 -03:00
Exxion
9e0aa3e2cb Stops using vars for pipe init 2020-06-16 12:02:58 -04:00
Exxion
96e3510d83 TEC power tweaks (#25947) 2020-03-02 16:09:44 -06:00
Exxion
175c7a3c69 Some TEC fixes (#25935) 2020-02-28 19:26:10 -06:00
abernd
81fa1e6753 Volume pumps move gas based on differential pressure (#25856)
* differential pressure

* remove useless comment
2020-02-26 12:01:52 -06: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
jknpj
f6aae72618 Tool Sound/Speed (#25529)
* Initial work on tool sounds

* Crowbars

* playtoolsound()

* aaaaaaaaaaaaaaaaaaaa

* HERE WE GO AGAIN

* Wrench

* Screwdriver.ogg REDUX, Cuffs

* drilling tools toolspeed is now a multiplier too

* Wirecutter
2020-02-08 09:07:00 -06:00
jknpj
89abfd45ba Replaces iswrench() macro with an is_wrench() proc (#25528) 2019-12-28 10:29:40 -06:00
Kurfursten
9f0d9fcb76 Vesta Heaters (#25483)
* Vesta Heaters

* Update spaceheater.dm
2019-12-24 06:50:02 -03:00
Kurfursten
d2040bfb81 Geyser Sprite (#25265) 2019-12-02 08:31:48 -03:00
jknpj
70f9e94446 Fixes pipe painter/RPD ignoring can_be_coloured (#25192)
* Fixes atmos pipe painter/RPD ignoring can_ne_coloured

* if
2019-11-30 16:02:07 -03:00
jknpj
e5c1dc941e Ports HE piping heat glow from Bay (#25193)
* Ports HE piping heat glow from Bay

* CIA pipes
2019-11-30 14:43:52 -03:00
ShiftyRail
f688d318d1 Geysers (#25038)
* adds geysers

* compiles now

* Small work on geysers.

* Oofer
2019-11-23 09:26:05 -03:00
Peter Wedder
5578cc3450 Wheelstation fixes (#24993)
* wheel

* more wheel

* mommi nest scrubber&vent

* ghetto kitchen area

* fewer mags
2019-11-13 20:41:13 -05:00
jknpj
1b2a4aac07 Merge pull request #24978 from Zth--/cleaningDuplicates2
Cleaning duplicated procs, part 2
2019-11-13 09:41:31 -03:00
zth
3c7be6dfd1 A bunch more of duplicated procs. I'm expecting a failed travis because I can't compile where I am 2019-11-12 11:38:51 -03:00
dylanstrategie
d00e34d458 Atmospheric pipes, cable wires and disposal pipes are again visible in the map editor (#24863) 2019-11-06 22:50:19 +01:00
brndd
fe2140d53b oops 2019-11-01 15:14:56 +02:00
brndd
d633198028 better do this too 2019-11-01 07:07:40 +02:00