本文整理汇总了Python中services.housing.HouseTemplate类的典型用法代码示例。如果您正苦于以下问题:Python HouseTemplate类的具体用法?Python HouseTemplate怎么用?Python HouseTemplate使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了HouseTemplate类的20个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Python代码示例。
示例1: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_medium_style_02_deed.iff", "object/building/player/shared_player_house_corellia_medium_style_02.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3))
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.setDefaultItemLimit(200)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:Dursos,项目名称:NGECore2,代码行数:9,代码来源:player_house_corellia_medium_style_02.py
示例2: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_large_style_02_deed.iff", "object/building/player/shared_player_house_generic_large_style_02.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-13.4), float(3), float(9.1)))
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.setDefaultItemLimit(500)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:9,代码来源:player_house_corellia_large_style_02.py
示例3: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_small_style_02_floor_02_deed.iff", "object/building/player/shared_player_house_corellia_small_style_02_floorplan_02.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.9), float(2.86), float(8.35)))
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.setDefaultItemLimit(200)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:10,代码来源:player_house_corellia_small_style_02_floorplan_02.py
示例4: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_cityhall_corellia_deed.iff", "object/building/player/city/shared_cityhall_corellia.iff", 0)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3))
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.setDefaultItemLimit(400)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:10,代码来源:player_cityhall_corellia_style_01.py
示例5: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_corellia_guild_deed.iff", "object/building/player/shared_player_guildhall_corellia_style_01.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(18.4)))
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.setDefaultItemLimit(400)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:10,代码来源:player_guildhall_corellia_style_01.py
示例6: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_shuttleport_tatooine_deed.iff", "object/building/tatooine/shared_shuttleport_tatooine.iff", 1)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.setDefaultItemLimit(0)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:8,代码来源:player_shuttleport_tatooine.py
示例7: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/city_deed/shared_cityhall_naboo_deed.iff", "object/building/player/city/shared_cityhall_naboo.iff", 0)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3))
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.setDefaultItemLimit(400)
houseTemplate.setBaseMaintenanceRate(308)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:12,代码来源:player_cityhall_naboo_style_01.py
示例8: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_window_s02_deed.iff", "object/building/player/shared_player_house_generic_large_window_s02.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(10.4), float(3), float(-11)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(500)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:15,代码来源:player_house_generic_large_window_s02.py
示例9: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_generic_guild_deed.iff", "object/building/player/shared_player_guildhall_generic_style_01.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(6), float(3), float(18.4)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(400)
houseTemplate.setBaseMaintenanceRate(100)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:16,代码来源:player_guildhall_generic_style_01.py
示例10: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/tcg/series5/shared_structure_deed_player_house_atat.iff", "object/building/player/shared_player_house_atat.iff", 3)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-3.8), float(5.86), float(15.1)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(350)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:15,代码来源:player_house_atat.py
示例11: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_large_deed.iff", "object/building/player/shared_player_house_tatooine_large_style_01.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-3), float(3), float(15.8)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.setDefaultItemLimit(500)
houseTemplate.setBaseMaintenanceRate(26)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:12,代码来源:player_house_tatooine_large_style_01.py
示例12: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_tatooine_guild_style_02_deed.iff", "object/building/player/shared_player_guildhall_tatooine_style_02.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.5), float(4), float(12.7)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(400)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:11,代码来源:player_guildhall_tatooine_style_02.py
示例13: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_tatooine_house_small_deed.iff", "object/building/player/shared_player_house_tatooine_small_style_01.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-1.7),float(3),float(7.9)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.setDefaultItemLimit(200)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:LordAlfonso,项目名称:NGECore2,代码行数:10,代码来源:player_house_tatooine_small_window_style_01.py
示例14: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/guild_deed/shared_tatooine_guild_style_02_deed.iff", "object/building/player/shared_player_guildhall_tatooine_style_02.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(5.5), float(4), float(12.7)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(400)
houseTemplate.setBaseMaintenanceRate(100)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:12,代码来源:player_guildhall_tatooine_style_02.py
示例15: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_merchant_tent_style_01_deed.iff", "object/building/player/shared_player_merchant_tent_style_01.iff", 1)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3.5),float(-0.3),float(3.5)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(200)
houseTemplate.setBaseMaintenanceRate(8)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:15,代码来源:player_merchant_tent_style_01.py
示例16: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_corellia_house_small_floor_02_deed.iff", "object/building/player/shared_player_house_corellia_small_style_01_floorplan_02.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-7.39), float(2.36), float(2)))
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.setDefaultItemLimit(200)
houseTemplate.setBaseMaintenanceRate(8)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:11,代码来源:player_house_corellia_small_style_01_floorplan_02.py
示例17: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/saga_system/rewards/shared_structure_deed_player_house_sandcrawler.iff", "object/building/player/shared_player_house_sandcrawler.iff", 5)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-8.75), float(3.86), float(1)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(350)
houseTemplate.setBaseMaintenanceRate(26)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:16,代码来源:player_house_sandcrawler.py
示例18: setup
def setup(core):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_small_floor_02_deed.iff", "object/building/player/shared_player_house_generic_small_style_01_floorplan_02.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(1, 2, 3))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(200)
core.housingService.addHousingTemplate(houseTemplate)
return
开发者ID:Dursos,项目名称:NGECore2,代码行数:15,代码来源:player_house_generic_small_style_01_floorplan_02.py
示例19: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/deed/player_house_deed/shared_generic_house_large_window_s01_deed.iff", "object/building/player/shared_player_house_generic_large_window_s01.iff", 2)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(-13.7), float(3), float(9.1)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(500)
houseTemplate.setBaseMaintenanceRate(26)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:16,代码来源:player_house_generic_large_window_s01.py
示例20: setup
def setup(housingTemplates):
houseTemplate = HouseTemplate("object/tangible/tcg/series3/shared_structure_deed_sith_meditation_room_deed.iff", "object/building/player/shared_player_house_sith_meditation_room.iff", 3)
houseTemplate.addBuildingSign("object/tangible/sign/player/shared_house_address.iff", Point3D(float(3), float(2.86), float(5.7)))
houseTemplate.addPlaceablePlanet("tatooine")
houseTemplate.addPlaceablePlanet("corellia")
houseTemplate.addPlaceablePlanet("naboo")
houseTemplate.addPlaceablePlanet("talus")
houseTemplate.addPlaceablePlanet("rori")
houseTemplate.addPlaceablePlanet("dantooine")
houseTemplate.addPlaceablePlanet("lok")
houseTemplate.setDefaultItemLimit(350)
houseTemplate.setBaseMaintenanceRate(8)
housingTemplates.put(houseTemplate.getDeedTemplate(), houseTemplate)
return
开发者ID:Adoyser,项目名称:NGECore2,代码行数:16,代码来源:player_house_sith_meditation_room.py
注:本文中的services.housing.HouseTemplate类示例由纯净天空整理自Github/MSDocs等源码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。 |
请发表评论