preview:api:resource
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
preview:api:resource [2019/10/02 18:39] – maxime | preview:api:resource [2022/10/05 09:16] – [ConsumptionBehaviorOverride] maxime | ||
---|---|---|---|
Line 2: | Line 2: | ||
**Category**: | **Category**: | ||
+ | |||
+ | Parent class: | ||
+ | Inherited by [[preview: | ||
+ | |||
Line 11: | Line 15: | ||
==== ResourceName ==== | ==== ResourceName ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== OrderId ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
---- | ---- | ||
==== Icon ==== | ==== Icon ==== | ||
- | | + | // |
- | * **Expected**: | + | |
+ | | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== ResourceTypeList ==== | ==== ResourceTypeList ==== | ||
- | See [[api:resource_type|RESOURCE_TYPE]] for the list of core resource types | + | //[[:annotations# |
- | * **Type**: '' | + | |
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== ResourceLayoutType ==== | ==== ResourceLayoutType ==== | ||
+ | // | ||
+ | |||
* **Type**: '' | * **Type**: '' | ||
- | * **Expected**: | + | * **Expected**: |
- | * **Default value**: '' | + | * **Default value**: '' |
---- | ---- | ||
- | ==== IsTradable | + | ==== IsUnique |
- | * **Type**: '' | + | //[[:annotations# |
- | * **Default value**: '' | + | |
- | ---- | + | * **Type**: '' |
- | + | * **Expected**: '' | |
- | ==== FillnessPerc ==== | + | * **Default value**: '' |
- | * **Type**: '' | + | |
- | * **Default value**: '' | + | |
---- | ---- | ||
- | ==== SellingPrice | + | ==== IsTradable |
- | * **Type**: '' | + | // |
- | * **Default value**: '' | + | |
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
---- | ---- | ||
- | ==== BuyingPrice | + | ==== TradeBuyingPrice |
- | * **Type**: '' | + | // |
- | * **Default value**: '' | + | |
+ | * **Type**: '' | ||
+ | * **Can also be built from**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
---- | ---- | ||
- | ==== VillagerBuyingPrice | + | ==== TradeSellingPrice |
- | * **Type**: '' | + | // |
+ | |||
+ | * **Type**: '' | ||
+ | * **Can also be built from**: '' | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 65: | Line 95: | ||
==== CanGoNegative ==== | ==== CanGoNegative ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 71: | Line 104: | ||
==== DisplayInInventory ==== | ==== DisplayInInventory ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 77: | Line 113: | ||
==== DisplayInToolbar ==== | ==== DisplayInToolbar ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== DisplayGizmo ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
+ | * **Default value**: '' | ||
---- | ---- | ||
==== DepositSoundEvent ==== | ==== DepositSoundEvent ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== GatheringSoundEvent ==== | ==== GatheringSoundEvent ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== PlantingSoundEvent ==== | ==== PlantingSoundEvent ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
---- | ---- | ||
==== ConsumptionBehaviorOverride ==== | ==== ConsumptionBehaviorOverride ==== | ||
+ | // | ||
+ | |||
+ | The behavior tree provided here must have some variables: | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | * '' | ||
+ | |||
* **Type**: '' | * **Type**: '' | ||
- | * **Expected**: | + | * **Expected**: |
* **Default value**: '' | * **Default value**: '' | ||
Line 105: | Line 170: | ||
==== ResourceVisualPrefab ==== | ==== ResourceVisualPrefab ==== | ||
+ | // | ||
+ | |||
* **Type**: '' | * **Type**: '' | ||
- | * **Expected**: | + | * **Expected**: |
+ | * **Default value**: '' | ||
+ | |||
+ | ---- | ||
+ | |||
+ | ==== IndividualResourceVisualPrefab ==== | ||
+ | // | ||
+ | |||
+ | * **Type**: '' | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
Line 112: | Line 188: | ||
==== IsOnWater ==== | ==== IsOnWater ==== | ||
- | | + | // |
+ | |||
+ | | ||
+ | * **Expected**: | ||
* **Default value**: '' | * **Default value**: '' | ||
preview/api/resource.txt · Last modified: 2023/12/12 12:16 by 127.0.0.1