Commit Graph

25 Commits

Author SHA1 Message Date
SkyratBot
9bb5f256f4 [MIRROR] Fixes Dead Dogs Responding to Commands (#5168)
* Fixed an issue where dogs would respond to commands if dead (#58629)

* Fixes Dead Dogs Responding to Commands

Co-authored-by: Moose1002 <33578674+Moose1002@users.noreply.github.com>
2021-04-25 03:30:45 +01:00
MLGTASTICa
1f5fdf76e2 fex (#4543) 2021-03-31 18:26:27 +01:00
SkyratBot
132049f459 [MIRROR] ai_behaviour cleanup ft. less chatty tourists (#4460)
* ai_behaviour cleanup ft. less chatty tourists (#57945)

Each of these lines is punctuated by an audio sting every 8 seconds without refrain.

So, this PR adds a new vocalisation limiter to tourist bots who can't find a seat. Instead of always vocalising every 8 seconds, they're now guaranteed to vocalise the first time and then have a 60% chance to have vocalised again each minute thereafter.

Tourists waiting for food now have an approx 40% chance to have vocalised in any given minute. This should be considered alongside the fact that multiple (up to 10) tourists can be present at any given point in time and with the difficulty in players killing them, they can create a lot of unnecessary audio spam. If the tourists are being served rapidly, they're also giving regular guaranted audio stings on top of that which compounds the chances any given bot will output an audio cue.

The AI controller now passes the larger value between the behaviour's `action_cooldown` in real seconds (as opposed to deciseconds) and delta_time when performing behaviours. This has no gameplay changes outside of those documented in this PR, since no AI behaviours with cooldowns greater than the AI controller's delta_time attempted to use delta_time.

Finally, customers now have 10 minutes of patience before leaving instead of 100 minutes of patience due to a minor oversight where their patience was in deciseconds while delta_time was subtracted in seconds.

* ai_behaviour cleanup ft. less chatty tourists

Co-authored-by: Timberpoes <silent_insomnia_pp@hotmail.co.uk>
2021-03-27 19:18:38 +00:00
SkyratBot
8e8828937a [MIRROR] Bane AI (#4387)
* Bane AI (#57771)

We take Gotham from the corrupt! The rich! The oppressors of generations who have kept you down with myths of opportunity, and we give it back to you...the people...Gotham is yours. None shall interfere, do as you please!

* Bane AI

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-03-25 15:27:44 +00:00
SkyratBot
ef9ab43ca4 [MIRROR] Dogs no longer take whatever they're holding/wearing to the grave (#4362)
* Dogs no longer take whatever they're holding/wearing to the grave (#57670)

* Dogs no longer take whatever they're holding/wearing to the grave

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-03-24 14:59:13 +00:00
SkyratBot
c07167d908 [MIRROR] /datum/ai_behavior/harass/proc/attack() now performs a standard UnarmedAttack() instead of being peculiar. (#4228)
* /datum/ai_behavior/harass/proc/attack() now performs a standard UnarmedAttack(). (#57521)

* /datum/ai_behavior/harass/proc/attack() now performs a standard UnarmedAttack() instead of being peculiar.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
2021-03-18 12:56:59 +00:00
SkyratBot
c2d6dd7d75 [MIRROR] Fixes a ton of harddels (#4215)
* Fixes a ton of harddels (#57736)

Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: ShizCalev <ShizCalev@ users.noreply.github.com>

* Fixes a ton of harddels

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
Co-authored-by: ShizCalev <ShizCalev@ users.noreply.github.com>
2021-03-17 20:42:47 +00:00
Gandalf
0d2b3db288 FIRE ALL PHASERS at MONKE [CONFIRMED KILL] (#4107)
* FIRE ALL PHASERS

* Update monkey_behaviors.dm
2021-03-12 23:27:51 +00:00
SkyratBot
b57fd0e072 [MIRROR] You can no longer get mauled by 20 rabid corgis in a duffel bag (#4065)
* You can no longer get mauled by 20 rabid corgis in a duffel bag  (#57592)

Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>

* You can no longer get mauled by 20 rabid corgis in a duffel bag

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
Co-authored-by: Ghom <42542238+Ghommie@ users.noreply.github.com>
2021-03-11 14:14:01 +01:00
SkyratBot
0dfff71e8f [MIRROR] fixes bane backbreaker from making customers flee (#4041)
* fixes bane backbreaker from making customers flee (#57564)

* fixes bane backbreaker from making customers flee

Co-authored-by: tralezab <40974010+tralezab@users.noreply.github.com>
2021-03-10 12:11:55 +00:00
SkyratBot
ea60589f74 [MIRROR] Gives robot tourists a self defense course (#4009)
* Gives robot tourists a self defense course (#57506)

Co-authored-by: tralezab <40974010+tralezab@ users.noreply.github.com>
Co-authored-by: coiax <yellowbounder@ gmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Gives robot tourists a self defense course

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: tralezab <40974010+tralezab@ users.noreply.github.com>
Co-authored-by: coiax <yellowbounder@ gmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-03-09 17:29:56 +00:00
SkyratBot
2fb0421d2f [MIRROR] Tweaks to robo-tourists (#3993)
* Tweaks to robo-tourists (#57497)

 balance: Robotourists pay more for food now
qol: Only one robo-tourist will wait at the door at any time, preventing constant spam if you only have 2 seats.
qol: more variation in robo-tourist colors

* Tweaks to robo-tourists

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-03-08 07:41:07 +00:00
SkyratBot
136915aa72 [MIRROR] Dog AI 2.0 (#3972)
* Dog AI 2.0 (#57186)

Now that JPS and AI movement datums are fully merged, I'm here to take another (my third actually) crack at giving dogs fun AI. Here's a video demonstration (somewhat WIP), and a quick rundown of everything dogs will be able to do. Basically all of these behaviors are generic and can be extended to other simple mobs,
Commands and Friendship
Fetching
Attack/Harass
Heel
Play Dead

* Dog AI 2.0

Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
2021-03-07 02:29:00 +00:00
SkyratBot
4770eca75e [MIRROR] Adds tourist robots that order food and drinks from the bar and cafeteria (#3651)
* Adds tourist robots that order food and drinks from the bar and cafeteria (#57010)

* Adds Tourism Economy

Co-authored-by: Emmanuel S. <emmanuelssr@ gmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
Co-authored-by: coiax <yellowbounder@ gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>

* Adds tourist robots that order food and drinks from the bar and cafeteria

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Emmanuel S. <emmanuelssr@ gmail.com>
Co-authored-by: ATH1909 <42606352+ATH1909@ users.noreply.github.com>
Co-authored-by: coiax <yellowbounder@ gmail.com>
Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
2021-02-27 09:19:00 +00:00
SkyratBot
21a986753e [MIRROR] Monkeys no longer rip apart machines from the inside (#3632)
* Monkeys no longer rip apart machines from the inside

monkeys only take things if theyre on a turf now...technically this bug made sense cuz the monkey was in the machine with the parts

* Monkeys no longer rip apart machines from the inside

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-02-24 20:35:33 +00:00
SkyratBot
c2215e3905 [MIRROR] Adds a subsystem for ai movement (#3613)
* Adds a subsystem for ai movement (#57111)

* done

* straight walk

* movement

* yep

* removes unused macro

* done

* Update ai_movement.dm

* Adds a subsystem for ai movement

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-02-23 21:46:00 +00:00
SkyratBot
b332b46b65 [MIRROR] Remove hideous inline tab indentation, and bans it in contributing guidelines (#3394)
* Remove hideous inline tab indentation, and bans it in contributing guidelines

* a

Co-authored-by: Mothblocks <35135081+Mothblocks@users.noreply.github.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-15 15:32:02 +00:00
SkyratBot
e890b1282b [MIRROR] Replaces intents with combat mode (#3063)
* Replaces intents with combat mode

* updates

* a

* Update living_defense.dm

* https://github.com/tgstation/tgstation/pull/56638/files

* gunsafety!

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Gandalf2k15 <jzo123@hotmail.com>
2021-02-05 16:58:16 +01:00
SkyratBot
d46cde8eae [MIRROR] Adds the Hauntium material, which turns any item into a ghost (with AI) (#2918)
* Adds the Hauntium material, which turns any item into a ghost (with AI) (#55728)

* Adds the Hauntium material, which turns any item into a ghost (with AI)

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-01-28 03:06:55 +01:00
SkyratBot
9ba1ac073f [MIRROR] Monkeys drop forced two handed items (#2910)
* Monkeys drop forced two handed items (#56329)

Monkeys cannot wield twohanded items.
But are not forced to drop items that must be wielded two handed.
This forces monkeys to drop items if they need to be two handed.
(Also makes monkey ais not try and pick up 2 handed weapons)

* Monkeys drop forced two handed items

Co-authored-by: NightRed <nightred@gmail.com>
2021-01-28 03:04:40 +01:00
SkyratBot
f516275c48 [MIRROR] Linter, shut thee up. (#2752)
* Linter, shut thee up. (#56193)

About The Pull Request

    Renames a directory such that it does not have a .dm prefix as that is linted against and made it onto master.

Why It's Good For The Game

    The linter can stop yelling at everyone over a filepath.

* Linter, shut thee up.

Co-authored-by: TemporalOroboros <TemporalOroboros@gmail.com>
2021-01-17 13:44:05 +01:00
SkyratBot
21907289f2 [MIRROR] Reworks the brand intelligence event with AI controller datums (#2545)
* Reworks the brand intelligence event with AI controller datums (#55778)

These felt like another good test-case for ai controllers that someone could easily grasp, this makes it so that we can use the actual vending machine instead of a fake mimic mob. In theory you could even still use the vending machine, if you like living on the edge ofcourse.

The vendors now try to move towards you, and try to dive on top of you to squish you.

* Reworks the brand intelligence event with AI controller datums

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2021-01-07 23:17:16 +01:00
SkyratBot
d7f054b035 [MIRROR] Refactors monkeys into a species (#2379)
* Refactors monkeys into a species

* aaa

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
Co-authored-by: Azarak <azarak10@gmail.com>
2020-12-31 21:08:07 +01:00
SkyratBot
7159d73113 [MIRROR] Makes it so player-controller monkeyized humans dont also keep AI control + extra AI controller fixes (#2214)
* Makes it so player-controller monkeyized humans dont also keep AI control + extra AI controller fixes (#55515)

AI controllers now properly check if a mob is client-controlled and dont start processing if its the case.
AI controllers now handle deletion on unpossesion if that's filled in as an argument
Dead monkeys stop attacking things

* Makes it so player-controller monkeyized humans dont also keep AI control + extra AI controller fixes

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-12-18 08:16:14 +01:00
SkyratBot
7a185e0b4d [MIRROR] [READY] Creates Datumized AI and applies it to monkeys (#2166)
* [READY] Creates Datumized AI and applies it to monkeys (#55238)

New AI system, implemented for monkeys.

* [READY] Creates Datumized AI and applies it to monkeys

Co-authored-by: Qustinnus <Floydje123@hotmail.com>
2020-12-13 13:45:09 +00:00