Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added surgicalKit treatment #1392

Merged
merged 6 commits into from
May 28, 2015
Merged

Conversation

BaerMitUmlaut
Copy link
Member

This makes the surgical kit now actually do something. Simply clears the array of wounds that can break open again.

Although I'm not sure if a dedicated local function really is needed I have added it to follow the scheme of the other treatment functions.

@ulteq ulteq added the kind/enhancement Release Notes: **IMPROVED:** label May 26, 2015
@bux bux added this to the Backlog milestone May 26, 2015
@BaerMitUmlaut
Copy link
Member Author

See #1284

@thojkooi
Copy link
Contributor

I will expand this to support :

dynamic treatment time as well.

And make it also do part of the work in case of cancel half way through. Unsure if I will be able to do this before the weekend.

Thanks @BaerMitUmlaut

@thojkooi thojkooi modified the milestones: 3.2.0, Backlog May 26, 2015
@BaerMitUmlaut
Copy link
Member Author

Dynamic treatment time has been implemented as well as a callbackProgress function instead. Left out the local function this time, I think it would only cause unnecessary network traffic.

@@ -16,7 +16,7 @@

#include "script_component.hpp"

private ["_caller", "_target", "_selectionName", "_className", "_config", "_medicRequired", "_items", "_locations", "_return", "_callbackProgress", "_treatmentTime", "_callerAnim", "_patientAnim", "_iconDisplayed", "_return", "_usersOfItems", "_consumeItems", "_condition", "_displayText", "_wpn"];
private ["_caller", "_target", "_selectionName", "_className", "_config", "_medicRequired", "_items", "_locations", "_return", "_callbackProgress", "_treatmentTime", "_callerAnim", "_patientAnim", "_iconDisplayed", "_return", "_usersOfItems", "_consumeItems", "_condition", "_displayText", "_wpn", "_treatmentTime", "_treatmentTimeConfig"];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

_treatmentTime is twice in the private array

@thojkooi
Copy link
Contributor

This has been merged. Thank you @BaerMitUmlaut

@BaerMitUmlaut BaerMitUmlaut deleted the surgicalKit branch May 29, 2015 15:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Release Notes: **IMPROVED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants