SHOW:
|
|
- or go back to the newest paste.
1 | // A base class for all consumable (food) items to inherit from | |
2 | class UaS_Consumable : HDWeapon abstract { | |
3 | default { | |
4 | UaS_Consumable.Calories 0; // Calories / kCals provided by this consumable | |
5 | UaS_Consumable.Fluid 0; // Milliliteres of hydration provided by this consumable | |
6 | UaS_Consumable.Bulk 0; // Bulk Units, also influences number of "swallows" when consumed | |
7 | UaS_Consumable.Description ""; // Description shown to player | |
8 | UaS_Consumable.OpenSound "UaS/FoodOpen"; // Sound played when opening packaged food item | |
9 | //+UaS_Consumable.RESEALABLE; | |
10 | //+UaS_Consumable.DRINKABLE; | |
11 | //+UaS_Consumable.PACKAGED; | |
12 | ||
13 | Inventory.PickupMessage ""; | |
14 | Inventory.Icon "HSCVA0"; | |
15 | tag ""; | |
16 | } | |
17 | ||
18 | //EXAMPLE FOOD | |
19 | class UaS_CurryRiceMRE : UaS_Consumable { | |
20 | mixin UaS_BigMREPouch; | |
21 | default { | |
22 | tag "Curry and Rice"; | |
23 | UaS_Consumable.Description "Spicy red curry with rice and potatos."; | |
24 | } | |
25 | override void Messages() { | |
26 | AddOpenText("Finally something exciting."); | |
27 | AddOpenText("Maybe this batch won't upset your stomach."); | |
28 | AddOpenText("Hope the rice isn't mushy."); | |
29 | } | |
30 | } | |
31 | ||
32 | ||
33 | ||
34 | //Main Meals and Tasty Shit | |
35 | - | //Soda Addon |
35 | + | |
36 | class UaS_EnchCassMRE : UaS_Consumable { | |
37 | - | class UaS_LemonFizzSoda : UaS_Consumable { |
37 | + | |
38 | - | mixin UaS_SodaMixin; |
38 | + | |
39 | tag "Enchilada Casserole"; | |
40 | - | UaS_Consumable.Description "A can of tart lemon-flavored carbonated water."; |
40 | + | |
41 | - | tag "Lemon Fizz Soda"; |
41 | + | |
42 | override void Messages() { | |
43 | AddOpenText("Man, the sauce has some kick!"); | |
44 | AddOpenText("They never include enough refried beans."); | |
45 | AddOpenText("Wish I had a honey packet for this."); | |
46 | AddOpenText("Spicy and smooth!"); | |
47 | } | |
48 | } | |
49 | - | //My OWN COFFEE Work. I think it this is going to need a glance from Cali. The UaS Messaging tags turned me around here since I was stepping out of a comfort zone. |
49 | + | |
50 | - | class UaS_CoffeePack : UaS_Consumable { |
50 | + | class UaS_FireballMRE : UaS_Consumable { |
51 | mixin UaS_BigMREPouch; | |
52 | - | UaS_Consumable.Calories 150; |
52 | + | |
53 | - | UaS_Consumable.Fluid 250; |
53 | + | tag "Fireball Scramble"; |
54 | - | UaS_Consumable.Bulk 5; |
54 | + | UaS_Consumable.Description "Hearty Fireball Breakfast Scramble."; |
55 | - | UaS_Consumable.Description ""; |
55 | + | |
56 | - | +UaS_Consumable.DRINKABLE; |
56 | + | |
57 | - | +UaS_Consumable.PACKAGED; |
57 | + | AddOpenText("Three kinds of meat! Two kinds of Potato!"); |
58 | - | Inventory.PickupMessage "Picked up a disposable, self-heating water pouch with a pack of coffee mix."; |
58 | + | AddOpenText("Mix the 1st and 3rd hot sauce. Always skip Sauce 2."); |
59 | - | Inventory.Icon "HSCVR0"; |
59 | + | AddOpenText("A hearty breakfast meal that works anytime."); |
60 | - | scale 0.45; |
60 | + | |
61 | } | |
62 | ||
63 | class UaS_GrabbagMRE : UaS_Consumable { | |
64 | - | class UaS_NeoEnglandMix : UaS_Consumable { |
64 | + | |
65 | - | mixin UaS_CoffeePack; |
65 | + | |
66 | tag "Mystery Mix MRE" | |
67 | - | UaS_Consumable.Description "One of three Coffee Blends still legal in the Reformed United Kingdom."; |
67 | + | UaS_Consumable.Description "An MRE that was assembled with whatever was available." |
68 | - | tag "EnglandCoffee"; |
68 | + | |
69 | override void Messages () { | |
70 | AddOpenText("It's just a mix of crackers and patte...") | |
71 | AddOpenText("Two grain bread and processed cheese, huh?") | |
72 | - | class UaS_KnoxCoffee : UaS_Consumable { |
72 | + | AddOpenText("Why would you pack three kinds of rice and ketchup?") |
73 | - | mixin UaS_CoffeePack; |
73 | + | AddOpenText("Salad and barbecue sauce?") |
74 | AddOpenText("Beef strips, Grape candy, and pear cubes...") | |
75 | - | UaS_Consumable.Calories 200; |
75 | + | AddOpenText("Four cans of energy drink and six energy bars?") |
76 | - | UaS_Consumable.Fluid 200; |
76 | + | |
77 | - | UaS_Consumable.Description "A bootlegged coffee pouch. Best Served Very Hot."; |
77 | + |