# Bio-Weapon Mod

**URL:** <https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629>\
**Category:** The Lab\
**Tags:** mod\
**Created:** [October 1, 2015, 4:56pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629 "2015-10-01T16:56:32Z")\
**Posts on this page:** 20\
**Page:** 4

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 5, 2015, 9:02am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/61 "2015-11-05T09:02:23Z")

</div>

> [@Noctifer](#):
>
> Been actually playing the game for a while and this fixes where from moments I was like, “Wait a minute…This ain’t right!”

Oh? That reminds me, if you wanted to resume messing with NPCs, anything you want me to try and figure out?

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 5, 2015, 9:03am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/62 "2015-11-05T09:03:47Z")

</div>

Just the old issue of changing npc attitudes. That is what concerns me right now.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 5, 2015, 9:07am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/63 "2015-11-05T09:07:17Z")

</div>

> [@Noctifer](#):
>
> Just the old issue of changing npc attitudes. That is what concerns me right now.

Ah right. Like this?

```
{
    "type": "talk_topic",
    "id": "TALK_ARCHON_PERSUADE_FAIL",
    "dynamic_line": "Pathetic. Flee if you wish, but soon you will have nowhere to hide.",
    "responses": [
        {
            "text": "...",
            "success": {
                "effect": "end_conversation",
                "opinion": {
                    "trust": -1,
                    "fear": -2,
                    "value": -1,
                    "anger": 1
                },
                "topic": "TALK_DEMAND_LEAVE"
            }
        }
    ]
},

```

The “effect” section also allows additional tricks, like setting the NPC to follow the player, opening the trade menu, making either of them their their weapon, etc.

## response effect

The `effect` function ca be one the following:

### start\_trade

Opens the trade screen and allows trading with the NPC.

### hostile

Make the NPC hostile and end the conversation.

### flee

Makes the NPC flee from your character.

### follow

Makes the NPC follow your character.

### leave

Makes the NPC not follow your character anymore.

### stop\_guard

Releases the NPC from their guard duty (also see “assign\_guard”).

### assign\_guard

Makes the NPC into a guard, which will defend the current location.

### end\_conversation

Ends the conversation and makes the NPC ignore you from now on.

### insult\_combat

Ends the conversation and makes the NPC hostile, adds a message that character starts a fight with the NPC.

### drop\_weapon

Make the NPC drop their weapon.

### player\_weapon\_away

Makes the player character put away (unwield) their weapon.

### player\_weapon\_drop

Makes the player character drop their weapon.

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 5, 2015, 9:27am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/64 "2015-11-05T09:27:42Z")

</div>

> [@Random\_dragon](#):
>
> [quote=“Noctifer, post:62, topic:10629”]Just the old issue of changing npc attitudes. That is what concerns me right now.

Ah right. Like this?

```
{
    "type": "talk_topic",
    "id": "TALK_ARCHON_PERSUADE_FAIL",
    "dynamic_line": "Pathetic. Flee if you wish, but soon you will have nowhere to hide.",
    "responses": [
        {
            "text": "...",
            "success": {
                "effect": "end_conversation",
                "opinion": {
                    "trust": -1,
                    "fear": -2,
                    "value": -1,
                    "anger": 1
                },
                "topic": "TALK_DEMAND_LEAVE"
            }
        }
    ]
},

```

The “effect” section also allows additional tricks, like setting the NPC to follow the player, opening the trade menu, making either of them their their weapon, etc.

[spoiler]

## response effect

The `effect` function ca be one the following:

### start\_trade

Opens the trade screen and allows trading with the NPC.

### hostile

Make the NPC hostile and end the conversation.

### flee

Makes the NPC flee from your character.

### follow

Makes the NPC follow your character.

### leave

Makes the NPC not follow your character anymore.

### stop\_guard

Releases the NPC from their guard duty (also see “assign\_guard”).

### assign\_guard

Makes the NPC into a guard, which will defend the current location.

### end\_conversation

Ends the conversation and makes the NPC ignore you from now on.

### insult\_combat

Ends the conversation and makes the NPC hostile, adds a message that character starts a fight with the NPC.

### drop\_weapon

Make the NPC drop their weapon.

### player\_weapon\_away

Makes the player character put away (unwield) their weapon.

### player\_weapon\_drop

Makes the player character drop their weapon.  
[/spoiler][/quote]

OMG! You are a genius! I will now worship you as my god!

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 5, 2015, 4:32pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/65 "2015-11-05T16:32:22Z")

</div>

Don’t thank me, thank whoever added that [NPCs.md](http://NPCs.md) file in the documentation folder. o3o

I’m not sure whether to be annoyed or amused that I puzzled out how to get skill trails to work solely through source diving plus trial and error, when the doc folder explains it too.

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 5, 2015, 7:02pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/66 "2015-11-05T19:02:03Z")

</div>

The doc folder is overlooked alright. I went through it and discovered how to make solar powered devices when the artifact jsoning happened.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 5, 2015, 7:03pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/67 "2015-11-05T19:03:33Z")

</div>

> [@Noctifer](#):
>
> The doc folder is overlooked alright. I went through it and discovered how to make solar powered devices when the artifact jsoning happened.

Da, should be fun.

Wait. OH SHIT, I never realized until now that we could now use it to make solar-powered flashlights! XD

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 5, 2015, 7:05pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/68 "2015-11-05T19:05:18Z")

</div>

Yup, one of the tools in this mod is solar powered.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 5, 2015, 7:09pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/69 "2015-11-05T19:09:58Z")

</div>

> [@Noctifer](#):
>
> Yup, one of the tools in this mod is solar powered.

Kick-ass, though I am tempted to PR something to make solar powered devices now. owo

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 9, 2015, 5:40pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/70 "2015-11-09T17:40:11Z")

</div>

Update 12 Now available!\*

\*The Npcs are unstable in the sense that they just move aimlessly as soon as they are in your reality bubble. So if you approach the makeshift command center or the Bio-Weapon Lab then talk to the npcs asap or you will have to track them trough the map.

P.S ability to befriend npcs is currently 100% since they are buggy and items are random; once that is sorted out, they will require persuasion to befriend.

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 12, 2015, 9:54am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/71 "2015-11-12T09:54:40Z")

</div>

Update 13 update now available!

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 23, 2015, 11:51pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/72 "2015-11-23T23:51:55Z")

</div>

Update 14 ready, the complete overhaul.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 23, 2015, 11:57pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/73 "2015-11-23T23:57:50Z")

</div>

Ooh? What all progress has been made, hmm? o.o

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 24, 2015, 12:01am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/74 "2015-11-24T00:01:49Z")

</div>

Well, npcs are a thing and this attempts to fix their behavior. I combined many professions reducing the number to five. Special Items spawn in labs and millitary places and in a particular area as well.  
Made a pseudo-story as well.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 24, 2015, 12:17am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/75 "2015-11-24T00:17:43Z")

</div>

Ah, nice. Now if we only had a way to make traits/worn items add responses, that could be useful to you. ^^

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 24, 2015, 12:35am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/76 "2015-11-24T00:35:32Z")

</div>

Traits and custom traits would help a ton. Currently I use worn items in conversation.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 24, 2015, 1:18am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/77 "2015-11-24T01:18:28Z")

</div>

> [@Noctifer](#):
>
> Traits and custom traits would help a ton. Currently I use worn items in conversation.

You can now have dynamic lines from NPCs that differ if the player-character has a given trait, yeah.

However, if the RESPONSES available to the player could also differ depending on if they had that trait, this would allow the logical ability for an NPC conversion to differ entirely depending on player status.

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 24, 2015, 1:23am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/78 "2015-11-24T01:23:26Z")

</div>

That and stackable lines. For example, if a character is a male with 8 tentacles wearing a marshal badge say this.

---

<div class="post-metadata">

**Author:** ![Random\_dragon](https://avatars.discourse-cdn.com/v4/letter/r/4da419/32.png) [@Random\_dragon](https://discourse.cataclysmdda.org/u/Random_dragon)\
**Post date:** [November 24, 2015, 1:33am UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/79 "2015-11-24T01:33:23Z")

</div>

That would be clever, maybe. X3

---

<div class="post-metadata">

**Author:** ![Noctifer](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/noctifer/32/458_2.png) [@Noctifer](https://discourse.cataclysmdda.org/u/Noctifer)\
**Post date:** [November 25, 2015, 8:23pm UTC](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629/80 "2015-11-25T20:23:12Z")

</div>

Update 15 Ready!

[Previous page](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629.md?page=3)

[Next page](https://discourse.cataclysmdda.org/t/bio-weapon-mod/10629.md?page=5)
