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.");
- }
- }
- //Main Meals and Tasty Shit
- 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!");
- }
- }
- class UaS_FireballMRE : UaS_Consumable {
- mixin UaS_BigMREPouch;
- default {
- tag "Fireball Scramble";
- UaS_Consumable.Description "Hearty Fireball Breakfast Scramble.";
- }
- override void Messages() {
- AddOpenText("Three kinds of meat! Two kinds of Potato!");
- AddOpenText("Mix the 1st and 3rd hot sauce. Always skip Sauce 2.");
- AddOpenText("A hearty breakfast meal that works anytime.");
- }
- }
- class UaS_GrabbagMRE : UaS_Consumable {
- mixin UaS_BigMREPouch;
- default {
- tag "Mystery Mix MRE"
- UaS_Consumable.Description "An MRE that was assembled with whatever was available."
- }
- override void Messages () {
- AddOpenText("It's just a mix of crackers and patte...")
- AddOpenText("Two grain bread and processed cheese, huh?")
- AddOpenText("Why would you pack three kinds of rice and ketchup?")
- AddOpenText("Salad and barbecue sauce?")
- AddOpenText("Beef strips, Grape candy, and pear cubes...")
- AddOpenText("Four cans of energy drink and six energy bars?")
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement