# Can NPCs help pedal?

**URL:** https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910
**Category:** The Bunker
**Created:** [February 29, 2020, 7:31pm UTC](https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910 "2020-02-29T19:31:59Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![redxlaser15](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/redxlaser15/32/1573_2.png) [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)
#### Post date: [February 29, 2020, 7:31pm UTC](https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910/1 "2020-02-29T19:31:59Z")

</div>

Self explanatory, not much else to say

---

<div class="post-metadata">

### Author: ![Trigon](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/trigon/32/2668_2.png) [@Trigon](https://discourse.cataclysmdda.org/u/Trigon)
#### Post date: [February 29, 2020, 9:04pm UTC](https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910/2 "2020-02-29T21:04:02Z")

</div>

No, they cannot help pedal.

---

<div class="post-metadata">

### Author: ![redxlaser15](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/redxlaser15/32/1573_2.png) [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)
#### Post date: [February 29, 2020, 9:21pm UTC](https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910/3 "2020-02-29T21:21:31Z")

</div>

Well that should be implemented

---

<div class="post-metadata">

### Author: ![mlangsdorf](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/mlangsdorf/32/2462_2.png) [@mlangsdorf](https://discourse.cataclysmdda.org/u/mlangsdorf)
#### Post date: [March 1, 2020, 12:50am UTC](https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910/4 "2020-03-01T00:50:31Z")

</div>

Knock yourself out. It should be a simple change to `vehicle:part_vpower_w()` in `src/vehicle.cpp` - replace `g->u.str_cur` with `psg->str_cur` after you’ve found the `player *psg` for that part, which should just be `vehicle::get_passenger( index )`.

Of course, you’l have to debug and test it, but that’s the general form of the solution.

---

<div class="post-metadata">

### Author: ![redxlaser15](https://sea2.discourse-cdn.com/flex016/user_avatar/discourse.cataclysmdda.org/redxlaser15/32/1573_2.png) [@redxlaser15](https://discourse.cataclysmdda.org/u/redxlaser15)
#### Post date: [March 1, 2020, 2:24am UTC](https://discourse.cataclysmdda.org/t/can-npcs-help-pedal/22910/5 "2020-03-01T02:24:38Z")

</div>

I don’t really know how and where to look to do that.  
Also, I’m still waiting on the opportunity to get new batteries for my Windows mouse.  
I’m going to need to relearn some of my prior knowledge about modding as well.

The current thing I’m most inclined to do is make a simple change to NPC dialogue regarding asking for items.  
It really doesn’t make sense to peacefully ask for supplies, and the quest giver (who wants first aid kits to help people), suddenly threaten your life if you fail the check.  
I also intend on fixing a couple small spelling/grammar that I noticed while reading some of the faction camp related dialogue if I can.
