forked from Konijima/Fuel-API
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworkshop.txt
128 lines (128 loc) · 6.08 KB
/
workshop.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
version=1
id=2688538916
title=FuelAPI
description=[h1]Incompatible with CocoLiquidOverhaul[/h1]
description=Stop using CocoLiquidOverhaul will not be maintained anymore, FuelAPI is a more vanilla friendly version of it.
description=
description=[h2]Framework to add new Fuel Container items[/h2]
description=This is a complete re-write of CocoLiquidOverhaul with optimized functions "overwrite" letting mod creator add custom fuel container item to the game by adding only Tags to the items.
description=
description=[h2]Features[/h2]
description=[b]Any fuel container can:[/b]
description=- Sandbox Settings for customization
description=- Store gas into Barrels
description=- Take gas from fuel station
description=- Siphon gas from Vehicles / Trailers
description=- Add gas to vehicles / Trailers
description=- Add gas to generator
description=- Burn corpse
description=- Light Campfire
description=- Light BBQ
description=
description=[h2]Large Fuel Can[/h2]
description=By default, this mod add a large fuel canister.
description=[i](The same red large gas can from CocoLiquidOverhaul)[/i]
description=
description=[h2]Sandbox Settings[/h2]
description=Find FuelAPI settings into World sandbox settings tab.
description=For server owner, add those settings to your server_SandboxVars.lua file.
description=[i]Default settings:[/i]
description=[code]
description=FuelAPI = {
description= FuelTransferSpeed = 2,
description= BarrelDefaultQuantity = "400",
description= CanPickupFullBarrel = 1,
description=},
description=[/code]
description=
description=[h3]FuelAPI.FuelTransferSpeed[/h3]
description=[i]Choose the speed at which fuel should transfer.[/i]
description=Value: [b]1[/b] = Vanilla
description=Value: [b]2[/b] = Fast
description=Value: [b]3[/b] = Very Fast
description=
description=[h3]FuelAPI.BarrelDefaultQuantity[/h3]
description=[i]Set total quantity of fuel that can be stored in a barrel by default.[/i]
description=Value: [b]400[/b]
description=
description=[h3]FuelAPI.CanPickupFullBarrel[/h3]
description=[i]Choose if barrel with fuel inside can be picked up.[/i]
description=Value: [b]1[/b] = Must be empty
description=Value: [b]2[/b] = Can pickup
description=
description=[h2]How to add your own custom Fuel Container [IsoObject]?[/h2]
description=In your own mod, you can create IsoObject that can store fuel
description=All you need to do to make a custom IsoObject store fuel is to set the [b]CustomName[/b] to [b]Barrel[/b].
description=If you need to customize the name using Translation file for your barrels add a [b]GroupName[/b] that suit your needs.
description=By default the fuel capacity default to 400 unit of fuel, you can set the amount in the tile properties as you need.
description=
description=[h2]How to add your own custom Fuel Container [InventoryItem]?[/h2]
description=In your own mod, you can create custom fuel container items.
description=You can check the code for example but here are the simple explanation.
description=
description=[b]The empty container[/b]
description=is a normal type item. See [b]Base.EmptyPetrolCan[/b]
description=[code]Tags = CustomFuelContainer; Petrol_<ModuleName>_<FullGasContainerItemName>[/code]
description=
description=[b]The container filled with gasoline[/b]
description=is a drainable type item. See [b]Base.PetrolCan[/b]
description=[code]Tags = CustomFuelContainer; Empty_<ModuleName>_<EmptyGasContainerItemName>[/code]
description=
description=[h2]Item Script Example[/h2]
description=[code]
description=module FuelAPI {
description= imports {
description= Base,
description= }
description=
description= // The Empty Container
description= item LargePetrolCan
description= {
description= DisplayCategory = VehicleMaintenance,
description= Weight = 2,
description= Type = Normal,
description= DisplayName = Empty Large Gas Can,
description= Icon = LargePetrolCan,
description= StaticModel = LargePetrolCan,
description= SurvivalGear = TRUE,
description= ReplaceInSecondHand = Bag_LargePetrolCan_LHand holdingbagleft,
description= ReplaceInPrimaryHand= Bag_LargePetrolCan_RHand holdingbagright,
description= WorldStaticModel = LargePetrolCan_Ground,
description= Tags = CustomFuelContainer; Petrol_FuelAPI_LargePetrolCanFull,
description= }
description=
description= // The container filled with gasoline
description= item LargePetrolCanFull
description= {
description= DisplayCategory = VehicleMaintenance,
description= Weight = 18,
description= Type = Drainable,
description= UseWhileEquipped = FALSE,
description= UseDelta = 0.04,
description= DisplayName = Large Gas Can,
description= Icon = LargePetrolCan,
description= ReplaceOnDeplete = LargePetrolCan,
description= StaticModel = LargePetrolCan,
description= ReplaceInSecondHand = Bag_LargePetrolCan_LHand holdingbagleft,
description= ReplaceInPrimaryHand= Bag_LargePetrolCan_RHand holdingbagright,
description= WorldStaticModel = LargePetrolCan_Ground,
description= Tags = CustomFuelContainer; Empty_FuelAPI_LargePetrolCan,
description= }
description=}
description=[/code]
description=
description=[h2]Videos[/h2]
description=[url=https://www.youtube.com/watch?v=v7_WjOhb4z0]Nurse - that's a lot of gas.[/url]
description=
description=[h2]My Mods[/h2]
description=[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2688538916]FuelAPI[/url]
description=[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2687798127]WaterDispenser[/url]
description=[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2635550102]Computer[/url]
description=
description=[h2]Mods using FuelAPI[/h2]
description=[url=https://steamcommunity.com/sharedfiles/filedetails/?id=2693227148]Gas Barrels - Fuel API Version[/url]
description=
description=[h2]Github:[/h2]
description=https://github.com/Konijima/Fuel-API
tags=Build 41;Framework;Items;Misc;Models;Multiplayer;Realistic
visibility=public