Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // A base class for all consumable (food) items to inherit from
- class UaS_Consumable : HDWeapon abstract {
- default {
- UaS_Consumable.Calories 0; // Calories / kCals provided by this consumable
- UaS_Consumable.Fluid 0; // Milliliteres of hydration provided by this consumable
- UaS_Consumable.Bulk 0; // Bulk Units, also influences number of "swallows" when consumed
- UaS_Consumable.Description ""; // Description shown to player
- UaS_Consumable.OpenSound "UaS/FoodOpen"; // Sound played when opening packaged food item
- //+UaS_Consumable.RESEALABLE;
- //+UaS_Consumable.DRINKABLE;
- //+UaS_Consumable.PACKAGED;
- Inventory.PickupMessage "";
- Inventory.Icon "HSCVA0";
- tag "";
- }
- //EXAMPLE FOOD
- class UaS_CurryRiceMRE : UaS_Consumable {
- mixin UaS_BigMREPouch;
- default {
- tag "Curry and Rice";
- UaS_Consumable.Description "Spicy red curry with rice and potatos.";
- }
- override void Messages() {
- AddOpenText("Finally something exciting.");
- AddOpenText("Maybe this batch won't upset your stomach.");
- AddOpenText("Hope the rice isn't mushy.");
- }
- }
- //Soda Addon
- class UaS_LemonFizzSoda : UaS_Consumable {
- mixin UaS_SodaMixin;
- default {
- UaS_Consumable.Description "A can of tart lemon-flavored carbonated water.";
- tag "Lemon Fizz Soda";
- }
- }
- //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.
- class UaS_CoffeePack : UaS_Consumable {
- default {
- UaS_Consumable.Calories 150;
- UaS_Consumable.Fluid 250;
- UaS_Consumable.Bulk 5;
- UaS_Consumable.Description "";
- +UaS_Consumable.DRINKABLE;
- +UaS_Consumable.PACKAGED;
- Inventory.PickupMessage "Picked up a disposable, self-heating water pouch with a pack of coffee mix.";
- Inventory.Icon "HSCVR0";
- scale 0.45;
- }
- }
- class UaS_NeoEnglandMix : UaS_Consumable {
- mixin UaS_CoffeePack;
- default {
- UaS_Consumable.Description "One of three Coffee Blends still legal in the Reformed United Kingdom.";
- tag "EnglandCoffee";
- }
- }
- class UaS_KnoxCoffee : UaS_Consumable {
- mixin UaS_CoffeePack;
- default {
- UaS_Consumable.Calories 200;
- UaS_Consumable.Fluid 200;
- UaS_Consumable.Description "A bootlegged coffee pouch. Best Served Very Hot.";
- tag "KnoxCoffee";
- }
- override void Messages() {
- AddOpenText("It'll heat up more than your mouth!");
- AddOpenText("An illegal but tasty cup of hazelnut coffee.");
- }
- }
- class UaS_SpaceCoffee : UaS_Consumable {
- mixin UaS_CoffeePack;
- default {
- UaS_Consumable.Description "A pouch of coffee served on space stations in Earth's orbit.";
- tag "SpaceCoffee";
- }
- override void Messages() {
- AddOpenText("Contractually described as hearty and energizing!");
- AddOpenText("Who would want this deep space swill?");
- }
- }
- //Main Meals and Tasty Shit
- class UaS_ChickenDumpMRE : UaS_Consumable {
- mixin UaS_BigMREPouch;
- default {
- tag "Chicken and Dumplings";
- UaS_Consumable.Description "Chicken Dumplings with Vegetables.";
- }
- override void Messages() {
- AddOpenText("The sauce is pretty thick.");
- AddOpenText("The vegetables are super tender!");
- AddOpenText("How do they keep the chicken moist?");
- }
- }
- class UaS_EnchCassMRE : UaS_Consumable {
- mixin UaS_BigMREPouch;
- default {
- tag "Enchilada Casserole";
- UaS_Consumable.Description "Enchilada Casserole with Red Sauce.";
- }
- override void Messages() {
- AddOpenText("Man, the sauce has some kick!");
- AddOpenText("They never include enough refried beans.");
- AddOpenText("Wish I had a honey packet for this.");
- AddOpenText("Spicy and smooth!");
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement