Commit Graph

133 Commits

Author SHA1 Message Date
flpfs
615c89ba54 Remove Xenobotanist access to Hydroponics (#10097) 2020-10-01 18:17:27 +02:00
Geeves
5b87eb39d3 Browser Window Stuff (#9960) 2020-09-14 11:00:14 +02:00
Matt Atlas
1aefd0de23 Fixes human think() emotes. (#9906) 2020-09-07 20:33:53 +02:00
Wowzewow (Wezzy)
307c214541 makes w_class use defines (#9848) 2020-09-06 17:37:56 -03:00
sadkermit
36dc8a5220 Chemical Improvements & Tweaks: Side-effects, overdoses, and more. (#9708) 2020-09-01 14:29:40 +02:00
Matt Atlas
0dd08df5b2 Refactors sound groups to use decls instead of a massive switch with dozens of global lists. (#9702) 2020-08-28 20:47:00 +02:00
Hockaa
b5778b203b Adds & updates Vaurca accents (#9657) 2020-08-16 19:42:05 +02:00
Wowzewow (Wezzy)
7114d3525f More new sounds and fixes equip sounds (#9464) 2020-08-12 11:17:39 +02:00
mikomyazaki
91e2a1ba6c Can now build all types of flooring without them existing first. (#9548) 2020-08-01 01:50:45 +02:00
Geeves
01d45ca2e1 Silicon Accents (#9429)
Stationbounds now have accents, starting off with Text-to-Speech, and can choose to mimic any accent.
    The bots that robotics can produce now also have TTS accents.
    IPCs can choose to use the TTS accent if they wish.
2020-07-30 20:49:09 +03:00
mikomyazaki
3f2a515a8b Changes all cases of update_icons(), updateicon(), UpdateIcon() etc. to update_icon(). (#9432)
update_icons(), UpdateIcon() and updateicon() are now changed to be update_icon().

Many interactions expect a target to have an update_icon(), so they should all be the same.

Also fixed some stuff that was using relative pathing, along the way.
2020-07-26 12:28:36 +03:00
MarinaGryphon
37c80988ce Converts Reagents to Typepaths and Centralises Reagent Spawning (#9140)
Converts reagents to use typepaths instead of IDs.
    Centralises reagent spawning in a lot of places to use reagents_to_add instead of a variety of custom methods or initialise overrides.
2020-07-05 20:47:48 +03:00
Kaedwuff
1529fa44c1 Removes Virology (#8927)
-Almost all aspects of virology and it's related machinery and objects have been purged from the code and map.
-Most of disease code has been purged. Some pieces of it remain as holdovers because they would require extensive rewrite of defines and codes for things like nanite robot transformation and appendicitis (that frankly isn't necessary)
-The outbreak event has been purged, as has the virology malicious code event variant.
-The Virology department has been remapped into the Abandoned Sector.
2020-06-05 20:27:46 +03:00
Geeves
bdeab68218 pAI Bot Piloting (#8840)
pAI can now pilot farmbots, cleanbots, floorbots and medbots.
    Floating messages now appear even if you're inside an object or another mob.
2020-05-30 16:24:29 +03:00
Baa
a5067a20d2 Stops Mine Drones from bleeding (#8679) 2020-04-18 03:45:16 -03:00
mikomyazaki
6074224d00 dreamchecker (#8233)
Implements dreamchecker plus fixes all errors
2020-02-16 20:42:32 +02:00
Sindorman
67ffbcd60e Temp save 2019-12-17 22:15:16 -08:00
Matt Atlas
df0cd6189a Brainmed Update (#7502)
gamer time.
2019-12-10 20:41:15 +02:00
Werner
af16a489a6 Removes Weapons (#7415)
* Adds icon and hitsound where needed.

* Moves alt_attack to /obj/item and deletes weapons.dm

* Replaced /obj/item/weapon with /obj/item

* Fixes merge issues.

* Fix merge issues.
2019-11-16 18:36:13 +01:00
JohnWildkins
9c335f6c00 Killing off inconsistencies with impact wrenches / combi-tools (#7269)
Part 1 in the "why my impact wrench no wrench bolt" saga

tl;dr for end users: combitools / impact wrenches now work on everything their non-powered versions do (except mechs and RIGs, tune in next time on dragon ball Z for that)

essentially all this PR does is murder every istype() check possible that could use a helper function instead, most notably many pen checks with ispen(). it also repaths combitools and powerdrills to /obj/item/weapon so they aren't instantly taken out of contention by half of the known attackby() prompts

I already squashed a couple runtimes here and there from the pen changes and it's possible I missed another because pencode is another scourge upon our lives
2019-10-26 22:20:40 +03:00
aleksix
979b754f2f Farmbot UI now shows pest eradication status (#7134) 2019-10-09 12:58:10 +02:00
Lady Fowl
d6ff38ef96 The Epic Construction Update (#5976)
How to build machine blueprints!

Use steel sheets like normal, then rotate the frame how you like it using the directional arrow. From here use a Multitool to finalize it and then wire it up like you would before.
2019-09-10 22:07:46 +03:00
Karolis
8b785b3815 New record consoles and removal of old datacore, adds SSrecords (#4878)
This PR is depending on #4868 for it's ui framework. This PR mostly makes new SSrecords subsystem responsible for storing records. This should replace old datacore.

Make new SSrecords.
Make things use SSrecords and whole code compile
Made VueUi button <vui-button> to push parameters as JSON, preserving client side data stricture.

    Add new records console and admin record management.

I am mostly looking for feedback regarding SSrecords and it's data storage mechanism criticism (It's using lists for storage)
2019-07-27 12:24:16 +03:00
MarinaGryphon
68dd51121c Makeshift Chemistry and Medical (#6618)
Skull is fucking CRYING right now.
2019-07-26 11:57:05 +03:00
Werner
c295906bcd Adds the Pharmacist and Biochemist to replace the Chemist and Virologist (#6099) 2019-03-18 23:03:09 +01:00
Mykhailo Bykhovtsev
3a37d8efb2 Hostile mobs line of fire check (#6075)
This PR make few things:

Hostile mobs now have a var smart which designates if they are smart enough to check their line of fire. In future I will also use this var to try and find path to their target around obstacles.

If Hostile mob is smart and is a ranged mob, it will check it's line of fire before it shoots. If there is a friendly mob in line of fire, we will not shoot. If we hit some other object, but we still can hit our target penetrating that object, we will fire. If we can't hit our target, we just don't fire.

Currently makes all hostile, ranged mobs smart.

Cleans up hivebot code and improves it. Hivebot spawn beacon has now chance of spawning different kinds of bots each cycle, and has a spawn delay between each.
2019-03-10 23:54:15 +02:00
LordFowl
8d436c4a03 Converts all necessary << outputs into the to_chat() macro. (#6076)
This PR will lead us towards the Promised Day, for in its wake there shall be much celebration and ecstasy as this world becomes a world suitable for developer hegemony. The first strike is thusly;

All << is converted into to_chat().
2019-03-10 23:39:03 +02:00
Werner
b823b4eb05 Converts jobs and admin equipment to use outfits (#5827)
Converts the jobs and admin equipment to use outfit datums.
2019-02-19 23:58:05 +02:00
Alberyk
76b743a986 Adds the Aut'akh unathi (#5919)
* Base work for the unathi robot subspecies.

* Adds metabolism species, kidney vars, and the robot unathi organs.

* Moves some action buttons to organs, pretty much a bay port right now. Todo: the unathi and alien stuff should also go here.

* First autakh implant power.

* Fixes the organs action button this time.

* Finishes more implants, and interactions with flashs and vaurca.

* Prepare for great changes.

* Drops the real bomb, boss.

* He who fights with monsters.

* Far more work into augments and limb removing powers.

* Limb verbs should be good now.

* A LOT of work into the assited organ, allowing it to bleed and etc, as well adding a new chem that will stop bleeding in their case.

* Probably the last work on implants.

* Some extra touches.

* Some tweaks to the species.

* More fixes and adds kyre's sprites.

* More runtime fixes.

* Fixes the species name too.

* Fixes travis.

* Updates this file too to work with the new tools procs.

* Adds changelog

* Fixed changelog.

* Unathi hair and lore description.

* Some tweaks to this too.

* Locks away them for now, they will be released after we got all the events and etc done.

* Changes this chemical.

* Fixes an airlock runtime.

* Adds the non scan flag to the autakh, mostly due to some bizzare interactions with changelings and cloning.

* Organs removal changes; can't take out the organ if it is too damage.

* Restricts them back again.

* Robotic organs now have the proper icons and names.

* Adds sprites for their organs and some extra tweaks.

* Fixes this missing icon.

* emp should also now hurt assited organs.

* Tweaks more organ related things.

* Fixes the head not being properly set as well.

* Fixes their flags.

* fixes the flag for real this time.

* Poze's review.

* Changes the au'takh organ buttons to don't be animated.

* Helps with adminbus or something.

* Fowl's requested changes.

* Fixes a typo.

* Robotic limb's brute and burn mods are now controlled by the limb model.

* Fowl's changes once more.

* Stops some spam.

* More grammar.

* No eal.

* Skull's review.
2019-01-23 19:27:44 +01:00
Menown
3efd3c4c2b Fun with Plants: Ft - Pitbull Worldwide (#5760)
Soil Plots:
- Can be created with three sandstone blocks.
- Can be removed with shovels or minispades. Has a timer that delays the construction and deconstruction.
- On spawn, soil plots do not contain water, or nutrient, requiring some initial start-up instead of just rebuilding the plot to get more water and nutrient.

Hydroponics trays:
- Received a minor buff -> No weeds. Hydroponic trays do not face issue from weeds irl. This will add incentive to using them outside readily available and constructable soil plots.
- Retaining of warning light for toxin levels and pest levels on the trays.
- Added NT dummy failsafe because people are killing their plants because they don't realize they require setting of lights. Default light is now set to five on each closed tray.

Point of the PR:
- Add incentive to use sandstone bricks to create planting beds if desired, keep incentive to use hydroponic trays as well as give them change to bring in line to more realistic standards for how hydroponic trays function.
- Prevent people from killing their plants through general lack of knowledge while providing a simple basic light setting that will at least slow decay of any closed system plants.
- Add some difficulty to initial upkeep of soil plots, while also preventing misuse through demolishing to obtain further water and nutrient.
2018-12-15 12:38:31 +01:00
OneOneThreeEight
73c094bc86 Fixes an issue with firing pin boxes being filled incorrectly + fix to farmbots (#5747)
Fixes #5748
2018-12-11 13:11:43 +02:00
Mykhailo Bykhovtsev
0270153915 Farmbot tweak/fix (#5720)
Farmbots prioritize refilling if their tanks are below 30%

Farmbots option to turn On/Off watering trays actually works, was set to use wrong var.

Moved sink in Hydroponics so that it is actually is in field of view of farmbots when they attend to trays. Fixes #5718

Reworded APC and SMES state when input and output are the same

Fixes #5721
2018-12-10 07:36:48 +02:00
Mykhailo Bykhovtsev
b8bda44279 Fixing runtimes (#5663) 2018-12-09 23:06:15 +01:00
Mykhailo Bykhovtsev
76b4b32cdf Fixing farmbot watertank (#5709)
Apparently this was still causing some trouble. basically without qdel the tank before moving new and assigning we will have a duplicate.

Fixes farmbot assemblies having duplicated watertank after they are finished assembling.
2018-12-06 13:32:23 +02:00
Mykhailo Bykhovtsev
a43e3fc66e Bugfixes (#5682)
Wanted to fix one bug, but couldn't stop.

- Farmbot now have harvesting animation. 

- Farmbots no longer have two water tanks inside of them, that was causing them to use hidden water tank and not let it be refilled. Fixes #5677 

- Farmbots now will wait for weedlevel to be 5 or higher, that is when the alarm is triggered. And call `update_icon()` when it is done. Otherwise people wouldn't notice if they were killing weeds

- Vending machine now accept only items of the same type as defined in their product list. So you can no longer insert cult's ritual knife into Dinnerware. Fixes #5671 

- Merchants cannot by generic mech's weapon, it was replaced with UT AC 2 and Scatterbox. Fixes #5675 

- Ghosts cannot be teleported by telescience. Fixes #5688
2018-12-04 19:48:59 +01:00
Mykhailo Bykhovtsev
c1899d967b Bug fixes (#5290)
Newscaster no longer keep photo in them after you take it out. Fixes #5216
    Added missing cameras in the bar. Fixes #5207
    Added two emergency O2 wall lockers to the bar and kitchen. Fixes #5241
    Fixed reference in red track pants(was referring to blue). Fixes #5276
    Beepsky/ED209 now stop moving after they are being disabled. Fixes #5244
    Cyborgs can not open/close curtains. Fixes #5284
    ED 209 no longer fires from long distance, but gets closer if target is too far away to shoot.
2018-09-18 03:31:07 +02:00
Mykhailo Bykhovtsev
d6cba67a29 Beepsky fix (#5231)
* Fixes beepsky agro

* changelog
2018-09-05 02:12:19 +02:00
Mykhailo Bykhovtsev
78b52be7f0 ED 209 update (#5182)
Depends on #5075

ED 209 uses verbal command like "stay, stop, patrol, arrest, detain".

ED 209 can arrest/detain people if given the command.
2018-09-02 19:40:18 +03:00
Mykhailo Bykhovtsev
5be6f5a1b2 Beepsky update (#5075)
Beepsky uses walk_to() instead of step_to()

Beepsky has variable of his speed that is used by walk_to()

Beepsky now targets person who attacks them.

Beepsky now reports if they are being attacked.

Beepsky uses better and shorter patrol paths
2018-08-27 22:21:31 +03:00
BurgerLUA
8519dcc393 .loc = to forceMove() (#4937)
As requested, this PR is changed to only include all .loc = to forceMove() changes.
2018-08-04 01:48:58 +03:00
Alberyk
03cf84880c Adds weaponry permission access and a bit more (#4665)
-adds weaponry permission access, that is used by the securitron to check if the person can use a weapon, added to all security roles, the head of personnel and the captain
-added a firing pin that checks for access
-fixed the ert id having access to things they should not
2018-05-09 10:22:51 +02:00
kevinz000
c000070a5b Pixel Projectiles (#4105)
Projectile hitscan effects moved to /effects/projectiles folder.
Most of projectile firing code and some of impact code refactored, and projectile hitscan effects refactored with ported TGcode (which is mostly TGcode I wrote anyways 😎)
Projectiles can now be fired at any angle, instead of just at the center of turfs!
Projectiles are now [in theory] 100% accurate down to 0.001 of a pixel.
2018-03-10 17:13:24 +02:00
Lohikar
a86398d0d2 Code Cleanup: (Bump(), Bumped()) -> (Collide(), CollidedWith()) (#4349)
This PR rips out the old Bump() and Bumped() procs and replaces them with Collide() and CollidedWith() respectively. Behavior should be the same, but Bump() should no longer be double-called, and no longer relies on spawns.

Other changes:

LAssailant is now a weakref.
Some direct loc setting are now forceMove().
2018-03-08 09:39:53 +02:00
Erki
20fc059ca7 Bugfix/runtime cleanup (#4249)
Some RTs.

Fixes #4091
Fixes #4092
Fixes #4077
2018-02-08 11:59:11 +02:00
Alberyk
faf9d48fec Fixes brig timers, medboots and titanium (#4241)
-fixes #4216
-fixes #4239
-fixes titanium being the same thing as plasteel
-fixes drop pods not working when you select a ghost
2018-02-03 23:33:28 +02:00
Alberyk
ed76032ee3 Changes how simple mobs reacts to open space and some bot fixes (#4027)
-changes how simple mobs handle can_fall, can_ztravel and CanAvoidGravity works on simple mobs by adding checks to see if the mob is alive and has the flying var
-fixes #4008
-fixes being unable to emag secbots
2017-12-31 14:32:33 +01:00
Lohikar
6feaf1a218 Mob AI SS & Misc. Mob Cleanup (#3990) 2017-12-24 14:24:55 -06:00
Ron
bf77cbe426 Bug fixes (#3807)
Fixes #3770
Fixes #3802
Resolves #3682 (stop all sounds verb)
Fixes #3804
Fixes #3789
Fixes #3558
Fixes #3549
Resolves #3745
2017-11-05 16:20:51 +02:00
Erki
7b1bcdc8f3 October Bugfix Bonanza (#3767)
Fixes #3742 - someone unfucked the fix again.
Resolves #3740 and resolves #3739.
Fixes #1558 - a 10 month long meme is dead.
Resolves #3720 by making robo-eyes immune only to the eye stinging effects of pepperspray. Let there be equality amongst the synths.
Fixes #3676 - tested, shouldn't break. It was double-calling set_death_timer.
Fixes #3672 and fixes #3658 - that was my bad on not noticing the diff around hologram.icon = icon vs add_overlay(icon).
Fixes #3762 - I'm surprised this didn't fuck over more.
2017-10-29 19:03:24 +02:00
Ron
cb5e227320 Converts some istype's to use helpers (#3224)
Converts various istype's to use helpers. Mainly:
Cable
Wrench
Screwdriver
Multitool
Crowbar
Wirecutter

And makes the helpers defines.
2017-08-06 22:08:42 +03:00