Opened 7 years ago

Closed 5 years ago

Last modified 5 years ago

#4370 closed defect (fixed)

Mods should be able to prevent some resources to be traded or bartered

Reported by: mimo Owned by: wraitii
Priority: Nice to Have Milestone: Alpha 24
Component: Simulation Keywords:
Cc: Patch: Phab:D1846

Description (last modified by Freagarach)

As discussed in https://wildfiregames.com/forum/index.php?/topic/21404-adding-new-resources/ we should add new properties in the resources json files (in simulation/data/resources) to indicate if a resource can be bartered or traded, and this info should then be used in simulation/gui/ai when barter or trade is involved. see #3934

Change History (6)

comment:1 by Imarok, 5 years ago

Component: UI & SimulationSimulation

Move tickets to Simulation as UI & Simulation got some sub components.

comment:2 by Freagarach, 5 years ago

Description: modified (diff)
Milestone: BacklogWork In Progress

comment:3 by Stan, 5 years ago

Patch: Phab:1846

comment:4 by Stan, 5 years ago

Patch: Phab:1846Phab:D1846

comment:5 by wraitii, 5 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 22970:

Adds a "properties"-property to resources and let mods be able to prevent resources from being bartered, traded and/or tributed.

Comments by: elexis, Stan`, Nescio

Reviewed By: wraitii, Angen

Fixes #4370

Differential Revision: https://code.wildfiregames.com/D1846

comment:6 by elexis, 5 years ago

Milestone: Work In ProgressAlpha 24
Note: See TracTickets for help on using tickets.