- distance is INFINITE, 0, or a positive integer based on get_dist() between
the examiner and examinee's turfs when they are on the same Z. When the
examiner is dead or a ghost, distance is always 0.
- also updates /examine( implementations to use it!
- adds w_class_to_name proc for reusing "It is a X item." examine behavior.
* bugfix 1: autolathes can actually be deconstructed and don't cause runtimes (and also don't eat your crowbars)
* bugfix 2 (forensic techs actually get detective ids/pdas)
* bugfix 3 (accessories no longer do a weird double period)
* bugfix 4 (right foot)
* bugfix 5 (singular/plural stacks)
* bugfix 6 (ghosts can hang up on communicators -- still causes runtimes but it did this before and the runtimes are from the observer bug and not the communicator bug so it's fine)
* i lost count but this one gives the hos an egun because the cynosure hos locker doesn't have a gun at all and i'm not fucking around with balancing the fancy custom guns
* fixes infinite cell duplication exploit with autolathes (flashlights/coolers come empty from lathe now)
* changelog
* Update code/game/machinery/autolathe.dm
Co-authored-by: Atermonera <atermonera@gmail.com>
* Update code/game/machinery/autolathe.dm
Co-authored-by: Atermonera <atermonera@gmail.com>
* commits changes + fixes retro carpet (red) inventory sprites
* return..()'d
---------
Co-authored-by: Atermonera <atermonera@gmail.com>
* Make intercom power change stateful
* Clean up air tank processing and initialize
* Optimize flashlight processing
* Optimize suit cooler processing
* Optimize geiger counter processing
* Optimize lighting processing
* Only process rigs on a person
* One more rig cleanup
* Large amount of work; Animal taming, shearing. Random animal spawns on sif grass/forest turfs. New PoIs, thermal poncho.
* Combat drone DMI moved to drones folder. Mining Drone subtype added. "Tameable" with ores, will collect and store ores when not in active combat.
Since the refactor https://github.com/PolarisSS13/Polaris/pull/6196 seems to have changed how desk lamps can light a room up, time to fix what happened for said desk lamps.
Changelog notes:
- Tweaks desk lamps for more light output.
A small noise now plays when your flashlight runs out of power. I didn't find any noise online which fitted my desire of a small, hushed electric fizzling so i used spark3 on very low volume.
* Yes, all of them.
* Also did a few corrections to redundant New() and broken Destroy() along the way
* Renamed the turf_initializer.initialize() proc to InitializeTurf to avoid confusion.
* Subsumed /area/proc/initialize into /atom/proc/initialize() - Made /area's LateInitialize to get same behavior as before.
Ports an item stack that can be used to mark trails, useful for explorers, miners, and anyone else who doesn't want to get lost or wants to make the room more colorful.
Now certain weapons can strike faster or slower than usual. No weapons currently do this as this PR just lays the groundwork for that.
The click delay can also be modified with traits. The slime agility modifier makes attacks happen 25% sooner.
Adds debug test verb to display a weapon's DPS. It's really basic but should be sufficient for future force adjustments I might do in the future.
A lot of new defines are now in inventory_sizes.dm, which contains;
All the size identifiers (the thing that tells the game if something is bulky, or w/e).
Storage costs for all the sizes, which are exponents of two, as previously.
A few constants for inventory size.
Also changes all storage item's capacity definitions by basing it off of how many 'normal slots' exist for it. This allows one to change the definition for all of the defines in the file, and everything will follow along without needing to change 500 files. In testing, I made all ITEMSIZE_COST_* defines doubled, and nothing had broke.
The benefit of doing all of this is that it makes adding new weight classes in the future much simpler, and makes knowing how much space a container has easier, as seeing ITEMSIZE_COST_NORMAL * 7 means it can hold seven normal items.