Commit Graph

23 Commits

Author SHA1 Message Date
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
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
ShiftyRail
eeb24fd031 Expunges hasvar() (#26846)
* Expunges hasvar()

* removes whitespace

* remove
2020-06-26 09:55:08 +02:00
DamianX
5399c3b0f3 Fixed a bunch of linter warnings (#26360)
* Fixed a bunch of linter warnings

* Fix everything, maybe break something

* Fixed Time Stop not being cast by Arcane Golems

* Fixed arguments of remove_from_storage

* Fixed gun/afterattack arguments

* Fixed gun/Fire arguments

* Fixed arguments to candle/light and mob/emote

* Fixed arguments to simple_animal/revive, simple_animal/gib, robot/drop_item, mob/flash_eyes
2020-05-03 16:06:40 -03:00
ShiftyRail
9c776718c4 Fixes some runtimes with bots. (#26201) 2020-04-14 14:29:29 -03:00
ShiftyRail
a98d378854 AStar subsystem for bots (#26157)
* Adds an ASTAR pathing sub

Adds a little crab bot that Astar paths to wherever you click on the screen

Gunks up ASTAR with a bunch of debug (colouring tiles that are processed)

* Renames some variables for readability

Thanks to having renamed the variables, repairs the golden throne as the error was easier to find

* removes or locks away debug

* Astar path making sub

* Converts bots over to the new ASTAR logic, WIP as fixing race conditions

* Tear it down, and start again

* Fixes patrols and regular path making.

Cleanbots and floorbots now work.

Makes Old_target into a list of old targets, to avoid flip-flopping between two impossible tasks

* New arg for bots, step_for, int. Patrols and paths will make this many steps per call

Fixes farmbots

Fixes the cleanbots in ironchef and spessmart from doing weird stuff

* cleanbots

* Dracula bot

* ed bot, formatting

* ed bots, fixes

* medbots maybe

* mulebots part1

* trying to make it work

* mulebots part 2

* might help with a funtime

* it took me 8 hours to fix this stupid thing. also removes debug

* they're writing songs of love, but not for me :(

* less shit

* It WORKS mostly

* more details, less debugs

* AAAAH

* IT WORKS

* slowbots

* New subsystem, documentation

* Better

Co-authored-by: madmanmartian <lazyrobot@outlook.com>
2020-04-12 20:58:37 -05:00
Exxion
c6a7e5098e Defines (#19835) 2018-09-27 14:50:54 -07:00
MadmanMartian
3e6e7f1cee Component processing subsystem (#19506)
Moves component processing to a subsystem, rather than have to trawl through life and add something to fire it each time in every override that doesn't call the parent.
2018-08-31 10:33:52 -03:00
I-VAPE-VOX-CLOACA-EVERY-DAY-OF-MY-LIFE
8d5f78b8b0 Smooth movement for simple mobs, bots, ventcrawling, singulo, mechs, and motor wheelchairs (#19196)
* Smooth movement for mech eye

* Arguments for ForceMove

* Smooth motor wheelchairs

* Smooth ventcrawling eye

* Singularity uses smooth novement

* Simple mobs and simple bots use smooth movement
2018-08-08 17:56:35 -03:00
MadmanMartian
6ccd5c3019 Messing with component mobs further (#17770)
* moves the brain component to living-level. Makes some tweaks to NPC AI so they know they're being attacked by something

* that took a lot more than I expected to fix the melee

* adds the weapon throw attack. Fixes where you could only ever have one attack type for your NPC. Fixes a bad usr argument in throw.

* /*DOES NOT WORK*/
Changes mob function so it uses a movement component, rather than it being under the mob component.

Adds the Astar mob movement component.

Adds Receive and Return signal handling. moves get def zone to this system.

* movement through astar now works.

* cleanup of debug

* Damians requested changes

* That doesn't work.
2018-07-09 09:50:39 +02:00
Exxion
793555b2fd Fixes all those bugs but with 100% fewer NEW bugs (#18333)
* Fixes scanners properly this time

* Just some code cleanup

* Fixes HE pipes being fast

* Fixes a bug that, for once, was not my fault

* Bugs both my fault and otherwise

* Why didn't I just do this in the first place?

* Turns out I wasn't the one who did the last one

* Simplification

* This was just completely incorrect

* Just style, which should have been included in the last commit

* Use new proc

* Simplification. This is still fucked up by the way

* And fixes a bug with freezers. This behavior is still fucked up though

* Woah fuck I nearly missed this. Freezers no longer have the volume of an entire zone.

* This should really be based on partial pressure, but that's a problem for another day

* There was never a reason to remove the air since thermal energy change is scale-invariant, dummy

* I THINK this is as correct as it's going to get without a rewrite

* Reading this hurt me

* Forgot this one, long ago

* Fuck lifecode

* Various stuff

* Removing the air is still unnecessary

* Fixes these not updating the zones, but these should really adjust thermal energy rather than absolute temperature

* Fixes these to update and use pressure

* This one gets special mention for breaking any existing sleeping agent in the area

* Whoops. I really need to standardize this.

* For fuck's sake

* I was going to make it adjust the environment temperature directly but looking at the code hurt my skull

* Not really deserving of its own commit but R-UST is next

* Existence is pain

* Fixes compile errors and a trillion runtimes
The gas_mixture procs should probably never return null, but oh well

* You're solving for the wrong n

* Don't explode tanks
2018-05-22 14:44:08 -03:00
ShiftyRail
b02d1ea5f2 Revert "Fixes almost all the bugs that I should have fixed six months ago" (#18330)
* Revert "[ci skip] Automatic changelog update."

This reverts commit c4eaaeb372.

* Revert "Fixes almost all the bugs that I should have fixed six months ago (#18323)"

This reverts commit e7c24c311c.
2018-05-22 12:25:53 +02:00
Exxion
e7c24c311c Fixes almost all the bugs that I should have fixed six months ago (#18323)
* Fixes scanners properly this time

* Just some code cleanup

* Fixes HE pipes being fast

* Fixes a bug that, for once, was not my fault

* Bugs both my fault and otherwise

* Why didn't I just do this in the first place?

* Turns out I wasn't the one who did the last one

* Simplification

* This was just completely incorrect

* Just style, which should have been included in the last commit

* Use new proc

* Simplification. This is still fucked up by the way

* And fixes a bug with freezers. This behavior is still fucked up though

* Woah fuck I nearly missed this. Freezers no longer have the volume of an entire zone.

* This should really be based on partial pressure, but that's a problem for another day

* There was never a reason to remove the air since thermal energy change is scale-invariant, dummy

* I THINK this is as correct as it's going to get without a rewrite

* Reading this hurt me

* Forgot this one, long ago

* Fuck lifecode

* Various stuff

* Removing the air is still unnecessary

* Fixes these not updating the zones, but these should really adjust thermal energy rather than absolute temperature

* Fixes these to update and use pressure

* This one gets special mention for breaking any existing sleeping agent in the area

* Whoops. I really need to standardize this.

* For fuck's sake

* I was going to make it adjust the environment temperature directly but looking at the code hurt my skull

* Not really deserving of its own commit but R-UST is next

* Existence is pain

* Fixes compile errors and a trillion runtimes
The gas_mixture procs should probably never return null, but oh well

* You're solving for the wrong n
2018-05-22 06:39:19 -03:00
MadmanMartian
cdb9f18478 Component human mob fixes (#17599)
* GetTargets now gives up if the mob is unconscious, like simple animal mobs

* Rather than cycling through every object in view and choosing the LAST one, it chooses the first one it comes across
2018-02-24 17:39:27 -03:00
D3athrow
51df013603 Pomf do a code, fix projectiles hitting windows when they should hit something else instead 2017-07-03 01:16:29 -05:00
Shadowmech88
d52ec77972 Basic Human AI (#15172)
* Adds a basic NPC AI for humans, capable of feeding itself when hungry and clothing itself.

* Does more stuff.

* Adds some more stuff.

* Forgot this.
2017-06-17 13:35:19 +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
Rob Nelson
fe929e5849 Component Model + PoC Mob (#13866)
* Initial work on component mobs.

* Revert simple_animal.dm

* Fix movement.

* Component signals are now #defines.

* Fix magic number in atmos.dm

* Added basic melee attacks.

* Get rid of test spam
2017-02-25 18:04:06 -05:00