Commit Graph

90 Commits

Author SHA1 Message Date
atermonera
d844cd87d2 Downwards transition happens on stair uncrossed 2021-03-04 20:13:07 -09:00
atermonera
113e2e6068 Throwing still has max range 2021-03-02 13:10:40 -09:00
atermonera
b2ca155477 Fixes stairs being wonky for fast, buckled mobs
Fixes thrown objects being catapulted to the max range when thrown up/down stairs
2021-03-02 12:11:45 -09:00
Atermonera
47f71b2adb Reworks stairs to be sensible (#7783)
* Rewrites stairs

* Stairs go up and down

* Adds animation

* Polishes movement interactions.

* Grabs are moved across stairs, adds changelog
2020-12-13 16:25:13 -08:00
Neerti
94062a21bf Implements status effect icons for various statuses. Cleans up various variable accesses to use setters instead. 2020-07-18 12:53:32 -04:00
Cerebulon
3d7493b4e1 Attempts to fix blurry icon scaling 2020-07-13 05:06:49 +01:00
Aronai Sieyes
a8f3a0a7a0 Refactor move/click code 2020-05-15 10:49:27 -04:00
Aronai Sieyes
bc1fa7bd05 Refactor Move() code 2020-04-27 10:08:55 -04:00
Leshana
092f415375 Fix Sundry Runtime Errors XII (#7007)
* Fix Runtime in atoms_movable.dm,597: list index out of bounds

* Fix Runtime in floor_attackby.dm,118: Cannot execute 0.is crowbar().

* Fix null values being present in mob_list.

* Another fix for Runtime in update_icons.dm,254: Cannot execute null.GetUIState().

- This time lets just ensure dna is instantiated no matter who is calling dress_preview_mob().

* Fix Runtime in suit_storage_unit.dm,792: Cannot execute null.set machine().

- Also fixed other mixups of usr vs. user that I found in the same file.

* Fixes Runtime in find_spawning.dm,688: Cannot read null.origin_tech

- if this else if block is reached, new_item must not exist, so we obviously can't set origin_tech on it. Examination of the code seems to suggest the original author intended that for any "talking" items to have arcane and precursor tech; since src is now being made talking, src should get the tech.

* Fix talking artifacts downgrading arcane/precursor tech

- Bump up the values by one for talking artifact items instead of overwriting whatever the value was.
2020-04-22 12:44:35 -07:00
Aronai Sieyes
736626c94d Improve space map edges 2020-04-02 10:42:27 -04:00
Aronai Sieyes
f204ae9385 2 new mech equipments (#6889)
* Adds atom/movable cloaking framework

* Mecha omni-shield generator

* Mecha cloaking generator

* Clean up various mech code and allow overrides lower

* DME update

* Adds fighters

* Missed a color check in colorable gunpods

* Update code/modules/mob/living/simple_mob/subtypes/animal/giant_spider/lurker.dm

Co-Authored-By: Novacat <35587478+Novacat@users.noreply.github.com>

Co-authored-by: Novacat <35587478+Novacat@users.noreply.github.com>
2020-03-29 14:53:56 -07:00
Atermonera
48e54599c6 Silly admins can't blindly break movement irreparably (#6897)
* Silly admins can't blindly break movement

* Updates pixel movement var protections
2020-03-25 13:38:35 -07:00
Leshana
85d3cbfa12 Replaced "area" shuttles with "landmark" shuttles.
Largely ported from the work done at Baystation in Baystation12#17460 and later commits.

 - Shuttles no longer require a separate area for each location they jump to.
   Instead destinations are indicated by landmark objects, which are not necessarily exclusive to that shuttle.
   This means that more than one shuttle could use the same docking port (not at the same time of course).
 - Enhanced shuttle control computers to use nanoui if they didn't.
 - Organizes shuttle datum code a bit better so there is less re-inventing the wheel in subtypes.
 - Allows the possibility of shuttles (or destinations) that start on late-loaded maps.
 - Deprecate the "extra" shuttle areas that are no longer needed and update shuttle areas in unit tests

This all required a bit of infrastructure improvements.

 - ChangeArea proc, for changing the area of a turf.
 - Fixed lighting overlays actually being able to be destroyed.
 - Added a few utility macros and procs.
 - Added "turf translation" procs which are like move_contents_to but more flexible.

(cherry picked from commit c837078105)
2020-03-13 00:26:08 -04:00
Atermonera
c8b2c08aa3 Merge pull request #6120 from Mechoid/MultiTile
Multi-Tile Objects, Multi-Tile Hovershuttle
2019-07-01 16:43:09 -08:00
Mechoid
d57e6d4183 Adds 0 checks. 2019-05-23 12:56:49 -07:00
Mechoid
20ba94d209 Makes sif trees pretty. Also, scale can now be adjusted in the X axis and Y axis separately. 2019-05-05 14:23:44 -07:00
Mechoid
3d49cdb59a Don't ask me why it works, I don't understand. 2019-05-02 22:28:04 -07:00
Mechoid
234af8bc9e Multi-Tile movement, and a shuttle mechanized vehicle to use it. 2019-04-20 00:33:04 -07:00
Neerti
c3f43aea58 Fixes the 'cannot push thing being pulled' bug and other weirdness. 2019-02-12 02:19:05 -05:00
kevinz000
0f4b976d43 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-16 08:13:58 -08:00
kevinz000
a9c67fc919 Oh boy! 2019-01-11 11:50:20 -08:00
kevinz000
c162255529 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-11 04:54:32 -08:00
Neerti
afa149ca2f Adds New PoI Features + Bonus PoI (#5796)
* Adds cliffs.

* Finishes lava and polishes the other things.

* Hopefully finished with all the new shinies.
2019-01-10 16:17:43 -06:00
kevinz000
352383e196 Oh boy 2019-01-06 23:53:57 -08:00
kevinz000
563bb4682e Everything is fucked 2019-01-06 23:37:07 -08:00
kevinz000
1315bfff2c Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2019-01-06 23:12:48 -08:00
kevinz000
a4b2b7c871 stuff 2018-12-23 02:34:45 -08:00
Neerti
e8a94d915e Does more work, particularly on zlevel stuff. 2018-12-19 18:31:41 -05:00
kevinz000
90e3dd4cc8 Merge remote-tracking branch 'polaris/master' into pixel_projectiles 2018-12-10 15:54:00 -08:00
Neerti
3779ea54a7 Makes fulltile windows seperate from dir. 2018-12-01 07:39:13 -05:00
kevinz000
c7d0f76205 Stuff 2018-10-22 23:26:38 -07:00
Neerti
3aca2c38e2 Yet Another Circuit Update (#5549)
* Circuit updates, adds new components, improves printer, new assemblies.

* Finishes powernet circuit.

* Adds wearable assemblies.

* Finialization before merging with GLOB port.

* Finishes circuit update, hopefully.

* Forgot to undo map.

* Removes debug output.
2018-09-12 20:51:32 -05:00
Anewbe
15a14d19f6 Ports the spinny throwing animation from Bay 2018-08-28 21:31:31 -05:00
Aronai Sieyes
7d3aec96fd Arranges lots of things into planes (#5072)
* Rearranges a billion things into planes

* Make cryotubes fancy

* Update Travis

* Fix hiding logic
2018-03-28 12:59:12 -07:00
Leshana
44dc4b7286 Implement SSatoms
* Moves proc/initialize() from being on /atom/movable, /are and /turf/simulated to being on /atom - Now turfs can initialize too
* Added the SSatoms subsystem which controls initialization of atoms at roundstart and during normal conditions.
* Disabled the old auto_init = 0 behavior, ALL atoms should get initialized() called on them now.
* Refactored the way initialize() is called during /New() to utilize SSatoms instead of SScreation
* Removed SScreation, as it was only a stop-gap until SSatoms could be ported.
* Updated the maploader to inform SSatoms when it is loading maps instead of SScreation.
* Updated the template map loader to use SSatoms to perform initTemplateBounds
* Renamed 'initialized' var in seed_storage to deconflict.
* Removed usage of auto_init = 0, replaced with a no-op initialize() proc for atoms that don't need initialization.
2018-02-05 15:50:06 -05:00
Neerti
96d3d361d0 Adds Boats, Ports /TG/ Buckling (#4527)
* Adds Boats, Ports /TG/ Buckling

* Travis Appeasement

* Changelog
2018-01-14 14:58:15 -06:00
Neerti
af5c633cdb Merge branch 'master' of https://github.com/PolarisSS13/Polaris into 10/28/2017_new_blob
# Conflicts:
#	code/game/atoms_movable.dm
2017-11-29 22:43:05 -05:00
Neerti
acb208dd3f Works on New Blob 2017-11-29 22:35:01 -05:00
Neerti
0315b18185 Makes Icon Scaling Great
Scaling wasn't great before so no Again.
Makes most icons not get blurry when scaled.
Makes all /atom/movable s able to be scaled with the adjust_scale() proc.
Adds ability for species to get scaled automatically.  Currently no species does this, but it is an option in the future.
Adds four traits to adjust your mob scale.  It is purely cosmetic at this time.
2017-11-14 19:32:49 -05:00
Anewbe
6ffebcef6e Merge pull request #3775 from Neerti/9/8/2017_tg_maploader_port
Port's TG's Maploader
2017-09-11 17:17:23 -04:00
Neerti
1bc28c07c0 Port's TG's Maploader 2017-09-08 12:49:26 -04:00
Neerti
4bfcec55f2 work 2017-09-04 21:52:47 -04:00
PsiOmegaDelta
ebe5cc916d Port of @PsiOmegaDelta's Baystation12/Baystation12#16820
Ports tg's garbage collector subsystem and Destroy() returning qdel hints.
2017-06-05 22:10:06 -04:00
Leshana
ff3c5238aa De-snowflake thrown objects hitting turfs.
* Port of https://github.com/Baystation12/Baystation12/pull/16942
* Actually tell turfs when a thrown object hits them, and let them decide what to do about it!
  * We do this by calling hitby(), which is how it already works for obj and mob, so this makes behavior consistent.
* This allows us to cleanly solve the problem of a thrown object landing on open space without falling.
2017-04-17 13:13:40 -04:00
Leshana
e8af4afc88 Port tg/paradise/good soft-edge lighting
Ports https://github.com/ParadiseSS13/Paradise/pull/6161
Its merged in nearly verbatim as far as the lighting module goes.
Changes outside the lighting module are merged based on our codebase.
2017-04-12 19:11:45 -04:00
Leshana
ef52ccbe4d Fix thrown objects hitting windows not in their path
* Fixes windows counting as blocking the entire tile for thrown objects when they don't.
* Same thing for windoors, which have the same problem.
2017-03-19 17:06:38 -04:00
Neerti
12abb2d6f2 Ports a large chunk of the map datum system that europa/bay uses.
Links many map-specific details such as the station name, z-level information, and allowed jobs from global vars to map datum vars, which should help us maintain multiple maps at once in the future, which will be needed for the future Southern Cross.
Note that a config change will be needed to change GENERATE_ASTEROID to GENERATE_MAP, otherwise no changes should be required to continue normal map usage.
To change to a different map, it's suggested to tick the file that ticks all the other needed files, which for the Northern Star is called northern_star.dm.
2017-02-27 07:36:41 -05:00
PsiOmegaDelta
4bc630d122 atom_movables now have the TILE_BOUND appearance flag.
Fixes #13606 and friends.
2016-09-25 19:40:00 +02:00
PsiOmegaDelta
2007c143d2 Refactors the forceMove() drop.
Makes dropping a its proc instead, cleaning up forceMove() handling.
2016-09-15 17:11:57 +01:00
Yoshax
f75d509e7f Ports event system from Bay 2016-06-01 22:05:04 +01:00