Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- xr_effects.script
- function complete_task_inc_goodwill(actor,npc,p)
- local amt = tonumber(p[1]) or 50
- amt = amt * axr_main.config:r_value("mm_options","goodwill_multipier",2,1.0)
- for i=2,#p do
- inc_faction_goodwill_to_actor(db.actor, nil, {p[i], amt})
- end
- end
- -- axr_main_options.script
- menu.gameplay_options["goodwill_multipier"] = {default=1.0, debug_only=false, typ="list", list={0.5,0.75,1.0,1.5,2.0,2.5,3.0,4.0,5.0,10.0,20.0}}
- --text
- <string id="ui_mm_goodwill_multipier">
- <text>Task Goodwill Multiplier</text>
- </string>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement