VegansDeluxe.core.Weapons package

Submodules

VegansDeluxe.core.Weapons.Weapon module

class VegansDeluxe.core.Weapons.Weapon.MeleeWeapon(session_id: str, entity_id: str)[source]

Bases: Weapon

ranged = False
class VegansDeluxe.core.Weapons.Weapon.RangedWeapon(session_id: str, entity_id: str)[source]

Bases: Weapon

ranged = True
class VegansDeluxe.core.Weapons.Weapon.Weapon(session_id: str, entity_id: str)[source]

Bases: object

accuracy_bonus = 0
cubes = 2
damage_bonus = 0
description = <VegansDeluxe.core.Translator.LocalizedString.LocalizedString object>
energy_cost = 2
hit_chance(source) int[source]
id = 'None'
class property melee

bool(x) -> bool

Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.

name = <VegansDeluxe.core.Translator.LocalizedString.LocalizedString object>
ranged = False
reload_text(source)[source]
type = 'weapon'

Module contents