Commit Graph

97 Commits

Author SHA1 Message Date
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
SECBATON GRIFFON
dada53f31c Suicide_act() update (#30086)
* Beginning suicide_act rework

* compile

* more acts

* compile

* compile

* compile

* compile

* better logic

* oh

* oh

* grammar

* TTVs now act like c4

* or now

* now for flares

* compile

* more general ones

* better

* even better

* generalises these too

* supermatter

* oversight

* circuit imprinters

* oversight

* tweaks

* tanks

* consistency

* oversight

* better chem dispenser one

* computers and gibbers

* oversights

* tweaks

* Fix

* processor

* NOOSINGS FINALLY PORTED FROM HIPPIE

* woops

* removing redundant code, consistency too

* more redundancy down

* this is better

* forgot one

* making nearby item checks more sane now

* better bomb one

* oversiiiight

* cuts down redundant function

* now for welderbomb suicide

* sanity

* more sanity

* switch looks nicer

* these too, obligatory

* oh right

* oh right

* hopefully these work right now

* updating for this one now

* species check

Co-authored-by: SECBATON GRIFFON <sage>
2021-08-24 20:48:18 -05:00
Eneocho
b60ac92573 Update engi.dm (#30232) 2021-08-16 17:10:47 -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
gurfan
bd1fcbabee missingtexture (#29969)
* error

* fix runtime and appearing in list
2021-07-11 15:22:25 -05:00
DeityLink
2afa3a8e5e allow mass pipe painting to work with pipe end caps (#29955) 2021-07-11 15:14:24 -05:00
Damian
9ccf07d563 updated localization files 2021-07-07 17:32:05 +02:00
kane-f
29ac8863ff Fixes RCDs destroying invulnerable grilles alongside windows (#29776)
Co-authored-by: kanef <kanef9x@protonmail.com>
2021-06-12 10:37:45 -05:00
kane-f
d2e3e77805 RCD window construction/deconstruction (#29637)
* Adding spawner

* File itself

* Window schematics

* Construct window framework

* Adding to schematics and deconstructioN

* Adding to mech and borg schematics, placeholder icon

* Fixing compile errors

* Unneeded var

* Hopefully better logic

* Copypasting fix

* Another compile fix

* This should make selecting them actually work

* No deconstructing plasma glass

* Better checks, can_r_wall usage

* Less brackets

* Overlay implementation testing

* More of it

* Remove for now so it can compile, come up with better idea later

* Workable solution

* Now actually works right

* Custom dirs

Co-authored-by: kanef <kanef9x@protonmail.com>
2021-06-02 18:29:38 -05:00
DeityLink
02a251aff1 Not My Cap (#29452) 2021-05-06 03:33:48 -05:00
gurfan
fda320bd22 Malfunctioning AI Blackout + RCD Disable Ability Tweaks (#27844)
* combine blackout+rcd, add radio scrambling to blackout

* better implementation

* finally figure out a good way

* remove to world

* remove red

* requested hcanges

* fix typos
2020-10-10 22:44:28 -05:00
DamianX
09a73d3c59 Converted a bunch of stuff to the new thing (#27556)
* removed old on_density_change thing

* converted on_resist to lazy events

* Converted on_spellcast to lazy events

* Converted on_uattack to lazy events, breaks spell channeling

* Converted on_ruattack to lazy events, unbreaks channeled spells

* Converted on_logout to lazy events

* Converted on_damaged to lazy_events

* Converted on_death to lazy_events

* Converted on_clickon to lazy_events

* Converted on_attackhand to lazy_events, added on_bumped
2020-08-16 18:53:17 +02:00
gurfan
85913e1183 Makes Compressed Matter Cartridges Stackable (#27410)
* oh god

* remove useless vars, fix incorrect types, remove from stack instead of daleeting it

* fix it really

* tard

* use use, dummy

* give rods a plural name

* finish it

Co-authored-by: gurfan <mahimahi6272@gmail.com>
2020-08-10 10:52:46 -03:00
DamianX
00361bce3d Fixed PDA and RCD hard dels (#27177)
* Fixed PDA/CAMO hard dels

* Fixed RCD hard dels
2020-07-21 18:47:28 -05: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
DamianX
f5c96279c6 Removed datum pooling (#26992)
* removed pooling

* replace returnToPool with qdel

* did stuff
2020-07-03 19:38:38 -03:00
Exxion
6c2410e4db Fixes RCD crash and character weirdness (#26986) 2020-06-30 15:57:39 +02: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
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
Exxion
4d7a2df990 Renamed Clamp() to clamp() 2019-10-25 17:18:20 -04:00
Peter Wedder
7b1a7a920c Tile painter bugfix (#24507)
oops
2019-10-20 12:55:37 -05:00
Peter Wedder
637615dd21 chapeldark (#23893) 2019-08-18 18:46:17 -05:00
Peter Wedder
37b53a97de "Mix" warning stripe decal (#23802)
* warning stripes

* looks like these are in here too
2019-08-10 12:15:38 -07:00
Paul Ritter
fba040db42 changed can_be_used_as_screwdriver to is_screwdriver cause we are to lazy to type 2019-04-13 23:22:12 +02:00
Paul Ritter
87358975b1 the remaining changes. forgot how to used smartgit there for a sec oops. 2019-04-13 20:54:21 +02:00
DamianX
92f88dd217 Suicide act refactor (#20334)
* Rename macros

* count_set_bitflags helper

* Fixed RCD suicide_act
2018-10-20 21:06:47 +01:00
Shadowmech88
d6ec8b700c Removes insulated pipes from the RPD. (#19990) 2018-10-14 11:18:09 +02:00
ShiftyRail
74af4e6871 Removes an in world check for malf modules. (#19967)
* Removes an in world check for malf modules.

* Moved to a saner place
2018-10-06 17:34:48 +02:00
DrSnips
d2eec30ec4 Adds the card game Une. (#19624)
* Part 2. Complete

* Added a few ways to get a deck of une cards.

* Made requested changes in all "for"s.
2018-09-19 13:38:35 +02:00
Kurfursten
eaf4fcb092 rpdpass (#19552) 2018-09-11 23:15:26 -04:00
DamianX
27e37d5b3c Fixed annoying shit (#18381) 2018-05-29 17:20:18 -03:00
DamianX
4a38ac9169 Remove get_turf from all playsound calls (#17640)
JUST. DO. IT.
2018-03-02 11:18:53 -03:00
jknpj
d06d1b29fa The not so big and less unatomic silicon update (#16891)
* Borg code cleanup and tweaks

* oh boy here we go

* did you test this?

* still testing this crap

* i'm testing it

* pushing more things with builtin bugs that i need to solve

* untested fixes and tweaks

* MoMMI changes lord almighty

* Come on git don't be ass

* how did i merge 3 times in a row

* more untested shitcode

* i got about 100 runtimes to debug

* FUCKING GITIGNORE DO YOUR FUCKING JOB

* WOAH NIGGA DON'T FORGET THESE

* thanks git mergetool

* untested powercreep that may not even compile at all

* defines, fixes and holy fuck did i just commit test_tiny again?

* every fucking time

* sprites by blithering

* what a goof

* p-p-p-powercreep?

* supply borg GPS

* fixes a bunch of things and tweaks respawn_module()

* Tons of icon crap

* geigers don't work on silishits oh joy

* more icon-related things

* safer this way

* Borg Photo

* fixes photos being a shit, THIS SRC. ISNT FOR SHOW and makes all mommis unliked by default

* jesus this has been broken since forever

* AIcreep

* removes geigers because radiation is fuck added the remont robot upgrade for mommis

* BREAK DOWN BREAK DOWN

* BREAK DOWN BREAK DOWN

* BREAK DOWN BREAK DOWN

* BREAK DOWN BREAK DOWN

* NO SPEEDCREEP TODAY

* soviet work with test tiny because i'm too lazy to remove it from this commit

* remos supplycreep

* forgot to remove a icon

* REMOVES PHOTOCREEP

* re-adds Wall-A, Wall-E, EVE and Bladewolf

* FUCK U DUNY

* emotefix

* fixes soviet RCD, tweaks soviet modules and static

* motherfucking non-hardsprited ushankas

* ALL ABOARD THE POWERCREPE TRAIN

* thanks, oldcoders.
2018-02-27 20:51:57 +01:00
DamianX
1d0f4eec84 Admin-only RPDs with no delay (#17216)
* Admin-only RCDs with no delay

* rm bad

* rm oversight
2018-01-30 20:46:22 +01:00
Unknown-as-Captain
e883b718ea Increases borg RCD cost for making airlocks (#16583) 2017-12-09 22:38:22 +01:00
Shadowmech88
dc4f8b7785 Engineering Mech (#16185)
* Adds new Engineering mech.

* Changes the Exosuit-mounted Rapid Construction Device to the Exosuit-mounted Rapid Engineering Device.

* Added mech sprites, beginning work on exosuit-mounted Engineering switchtool.

* Fully implements the mech switchtool.

* First round of fixes.

* Fixes compile failure.

* More fixes.

* Adds mech-mounted metal foam grenade launcher.

* Makes the mech switchtool Engineering-exclusive.

* Refactored the RED.

* More fixes.

* Adds Destroy() to global_iterator.

* Mech movement will no longer bypass do_after().

* The Rapid Engineering Device can now function as a socket wrench when used on pipes in RPD mode.

* Added automatic tiler.

* Added built-in scrubber to Engineering mech.

* Adds mech-mounted inflatable barrier launcher.

* Does a fix.

* Adds exosuit-mounted radiation collector array.

* Makes changes, separates plating and tiling for tiler, adds new sprites, renames mech.

* Adds construction steps, circuit boards, and everything else needed to fully implement the mech.

* leg

* Adds mecha tool sprites.
2017-10-20 06:36:09 -04:00
Damian
9da4b13d4f spark system refactoring 2017-09-20 03:28:46 +02:00
MadmanMartian
587a9affa1 RCDs can no longer deconstruct reinforced walls 2017-07-30 12:37:10 +01:00
mtpowell
10c9cf7f0b Adds H/E Manifolds (#14717)
* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Add files via upload

* Balances heat transfer

Not efficient to build 5 manifolds on every tile, makes you utilize pipes.

* Whoops

Forgot the 4-way
2017-05-03 13:46:38 +01:00
unid15
38f7bcd3f4 Changes some typepaths (#14522)
* Removes /obj level crap

* Woopsie shmoopsie

* Woopsie shmoopsie part 2

* Fixes 30000 changes

* Test

* Let's see how this works

* Revert map changes

* This will work at last
2017-04-06 20:38:04 +01:00
clusterfack
246b9261f5 Revert PHORON 2017-04-02 00:37:37 -05:00
clusterfack
8d9d66ce28 Makes Station Rotate (#14506)
* Changes plasma to phoron

Because plasma has been coopted to mean the 4th state of matter, we're rebasing to the new bay naming standard of phoron

* Fixes maps and filenames

* Whoops forgot to change test box!
2017-04-02 00:01:08 +02:00
Pieter-Jan Briers
ac7e891b7e Mouse wheel based RPD control. (#13670)
* Mouse wheel based RPD control.

* Fixes last bugs.
2017-02-06 14:55:40 -05:00
Kammerjunk
e10e4a3882 Logs the RCD floor deconstruction 2017-02-03 20:18:41 +01:00
jknpj
e84a969479 Engineering borgs can now change access for airlocks built with RCD (#13160)
Closes #12240
2017-01-02 23:38:23 +01:00
jakmak3
53b33a8978 This change increases the RCD price from 20 sheets of metal to 30 sheets of metal and 10 sheets of glass. It also reduces the cost of compressed matter from 12 sheets of metal to 8 sheets of metal and from 6 sheets of glass to 4 sheets of glass. (#12313) 2016-11-06 14:11:04 -06:00
sood
ee98d2ffaa Fixes cigars runtiming on roundstart because service fab code was snowflakes. (#12344)
* Fixes cigars runtiming because service fab code was snowflakes.

* Horrid workaround
2016-10-25 21:29:03 -05:00
clusterfack
99da2a94fc Removes tile painter paint delay (#12013)
Since you cant change the painting type while you are currently painting easily, and they're simply no balance reason that 'painting' would ever need a delay.
2016-09-26 23:24:01 -05:00
Pieter-Jan Briers
38deff5cc5 Celtpipe fixes & pipes use planes to their full extend. (#11619)
* Fixes insulated pipe manifolds not having celt pipe support.

* Changelog

* So much fixes I can't be bothered to list them all.

* some PLANES work

* Planes + pipes = http://i.imgur.com/gCiMohF.png

* Changelog

* DEFINES

* Fix compile.

* Bugfixes
2016-09-07 20:30:17 -05:00
ComicIronic
d490e1f970 Removed one line ifs and elses. (#11389) 2016-08-15 05:36:21 -05:00