Exemplo n.º 1
0
        public GenericArmorWithBulge(Guid uniqueID, ArmorType armorRating, SimpleDescriptor abbreviatedName, DescriptorWithArg <bool> fullName,
                                     BulgeAwareItemDescription description, DescriptorWithArg <bool> aboutText, BulgeAwareStateChange onBulgeChange,
                                     double defenseRating, int price, byte seductiveModifier = 0, byte wizardModifier = 0, bool allowsUnderGarments = true) : base(armorRating)
        {
            this.id      = uniqueID;
            this.defense = defenseRating;
            this.abbr    = abbreviatedName ?? throw new ArgumentNullException(nameof(abbreviatedName));
            this.full    = fullName ?? throw new ArgumentNullException(nameof(fullName));
            this.desc    = description ?? throw new ArgumentNullException(nameof(description));
            this.about   = aboutText ?? throw new ArgumentNullException(nameof(aboutText));

            this.worksWithUnderclothes = allowsUnderGarments;

            value = price;

            sluttySeduction  = seductiveModifier;
            wizardsEndurance = wizardModifier;

            bulgeStateChangeText = onBulgeChange ?? throw new ArgumentNullException(nameof(onBulgeChange));
        }
Exemplo n.º 2
0
 public LanguageAwareButtonWrapper(SimpleDescriptor TitleStrCallback, Action onClick, DescriptorWithArg <bool> unlockedLockedTipCallback,
                                   SimpleDescriptor tipTitleCallback, bool enabled = true, bool defaultButton = false) : base(TitleStrCallback, onClick,
                                                                                                                              unlockedLockedTipCallback, tipTitleCallback, enabled, defaultButton)
 {
 }