Dunjesus

New Member
Aug 5, 2018
3
1
Time to contribute a little to this awesome game. ;)

I've made a small mod that aims to liven up the main room of the game with some christmas decorations and two fully new weather effects. (It does not replace any other in-game weather type)

What does the mod do?



You don't have permission to view the spoiler content. Log in or register now.

Instruction:
Download xmas.zip, unpack and overwrite game files. If you wish to revert the changes download revert.zip instead.

Download:
See attachment.

I also wanted to include new clothing for Hermione with special event but I haven't finished drawing poses for them yet. :(

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.

----

Oh I almost forgot! @MadMerlin, I've noticed in one of the script files that assets for Weasley's shop were missing so I decided to spend some time and make them. I simply hope its good enough, if not, thats okay.

Edit: Added attachment with assets.

You don't have permission to view the spoiler content. Log in or register now.

You don't have permission to view the spoiler content. Log in or register now.
Can we add the attachment mods to the First Page/First Post? Because i know i will have difficulties finding it again in the future.
 
Feb 5, 2018
161
55
and script error when started collar event (ofc there are some older renpy files in my computer so that's 1 possibility) but ignoring it worked again and now Hermione wears her new collar proudly.
but in my save after i ignoring the error everytime i summon her error keep repeating, please help
 

LoafyLemon

Witch Trainer Silver
Game Developer
Jul 1, 2017
534
1,425
Oh nice!! Good stuff LoafyLemon, you're an inspiration :)

Love seeing the snow!
I am glad you like it, thanks! :D
Nice work on the Snape assets by the way.

but in my save after i ignoring the error everytime i summon her error keep repeating, please help
I might be able to help you with your save but I would need to see the error traceback log.
 
  • Like
Reactions: Wyrdo
Feb 5, 2018
161
55
I am glad you like it, thanks! :D
Nice work on the Snape assets by the way.



I might be able to help you with your save but I would need to see the error traceback log.
here

Code:
I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'characters/hermione/clothes/neckwear/neck_whore_shackle.png'>:
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/Stat_Menu/_Stat_Screen_.rpy", line 36, in script call
    call open_stat_menu(_return)
  File "game/__Renpy__/Stat_Menu/_Stat_Screen_.rpy", line 36, in script call
    call open_stat_menu(_return)
  File "game/__Renpy__/Stat_Menu/_Stat_Screen_.rpy", line 36, in script call
    call open_stat_menu(_return)
  File "game/__Renpy__/Main_Day.rpy", line 339, in script call
    call hg_pr_SexWithClassmate_Alt
  File "game/__Renpy__/_hermione_/public_shaming/collar_event.rpy", line 375, in script call
    call her_main("Goodbye [genie_name].","angry","dead",cheeks="blush",tears="crying")
  File "game/__Renpy__/_hermione_/_hermione_.rpy", line 61, in script call
    call transition(trans)
  File "game/__Renpy__/__Characters__.rpy", line 58, in script
    with d3
IOError: Couldn't find file 'characters/hermione/clothes/neckwear/neck_whore_shackle.png'.

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/shop/_store_.rpy", line 117, in script call
    call thx_4_shoping2 #Massage that says "Thank you for shopping here!".
  File "game/__Renpy__/Stat_Menu/_Stat_Screen_.rpy", line 36, in script call
    call open_stat_menu(_return)
  File "game/__Renpy__/Stat_Menu/_Stat_Screen_.rpy", line 36, in script call
    call open_stat_menu(_return)
  File "game/__Renpy__/Stat_Menu/_Stat_Screen_.rpy", line 36, in script call
    call open_stat_menu(_return)
  File "game/__Renpy__/Main_Day.rpy", line 339, in script call
    call hg_pr_SexWithClassmate_Alt
  File "game/__Renpy__/_hermione_/public_shaming/collar_event.rpy", line 375, in script call
    call her_main("Goodbye [genie_name].","angry","dead",cheeks="blush",tears="crying")
  File "game/__Renpy__/_hermione_/_hermione_.rpy", line 61, in script call
    call transition(trans)
  File "game/__Renpy__/__Characters__.rpy", line 58, in script
    with d3
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\ast.py", line 1337, in execute
    renpy.exports.with_statement(trans, paired)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\exports.py", line 1452, in with_statement
    return renpy.game.interface.do_with(trans, paired, clear=clear)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\core.py", line 2207, in do_with
    clear=clear)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\core.py", line 2649, in interact
    repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\core.py", line 3132, in interact_core
    self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\core.py", line 2055, in draw_screen
    renpy.config.screen_height,
  File "render.pyx", line 485, in renpy.display.render.render_screen
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\transition.py", line 359, in render
    top = render(self.new_widget, width, height, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\screen.py", line 669, in render
    child = renpy.display.render.render(self.child, w, h, st, at)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\layout.py", line 717, in render
    surf = render(child, width, height, cst, cat)
  File "render.pyx", line 145, in renpy.display.render.render
  File "render.pyx", line 233, in renpy.display.render.render
  File "accelerator.pyx", line 108, in renpy.display.accelerator.transform_render
  File "render.pyx", line 233, in renpy.display.render.render
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\im.py", line 580, in render
    return cache.get(self, render=True)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\im.py", line 266, in get
    surf = image.load()
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\display\im.py", line 625, in load
    surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
  File "D:\Game\Download\RenPy\WT_Silver_1.33c-pc\renpy\loader.py", line 555, in load
    raise IOError("Couldn't find file '%s'." % name)
IOError: Couldn't find file 'characters/hermione/clothes/neckwear/neck_whore_shackle.png'.

Windows-8-6.2.9200
Ren'Py 7.0.0.196
WT Silver 1.33c
Thu Dec 13 23:40:06 2018
 

rb813

Active Member
Aug 28, 2018
976
574
Does anybody else think it would be cool to have a random button on the wardrobe? I think that would be great!
 

LoafyLemon

Witch Trainer Silver
Game Developer
Jul 1, 2017
534
1,425
thank you it fixed now, so what is this error ? is it a bug or what since i remember downloading the game from this f95 site
Okay so I checked collar event script and it looks fine, I think your game might be slightly outdated hence why assets were named differently in your version of the game. If you would like to update check github link, its available on the first page, just keep in mind you will have to start the game anew because code has changed quite a lot recently, although you can cheat your progress to make it more or less the same.

Does anybody else think it would be cool to have a random button on the wardrobe? I think that would be great!
Sounds interesting, but it would require quite a bit of coding to make checks if specific item is unlocked so it doesn't break the game completely.
 

MadMerlin

Member
Game Developer
Aug 21, 2017
117
650
Time to contribute a little to this awesome game. ;)

I've made a small mod that aims to liven up the main room of the game with some christmas decorations and two fully new weather effects. (It does not replace any other in-game weather type)
Thanks for the post!
I'll have a look at it and maybe add the weather if that's ok with you. Might add a calendar to the game or make the Christmas stuff appear around day 100 or something.

I also wanted to include new clothing for Hermione with special event but I haven't finished drawing poses for them yet. :(

You don't have permission to view the spoiler content. Log in or register now.
You don't have permission to view the spoiler content. Log in or register now.
The pants look good. The shirts might need more work, especially the large breasts.
Do you have the lines and color and shadows as different layers?

Oh I almost forgot! @MadMerlin, I've noticed in one of the script files that assets for Weasley's shop were missing so I decided to spend some time and make them. I simply hope its good enough, if not, thats okay.
It's probably something I could add real quick so it isn't as empty, though for future updates we'll probably do a different weasley store background. For one the room shape will most likely change, and their shop will look more like that "suitcase on a chair" they had in the 5th movie, with them standing next to it.

Does anybody else think it would be cool to have a random button on the wardrobe? I think that would be great!
We might add something like that in one of the future updates (Not the current one or the next one, sometime after 1.35).
It won't be completely random, but you will be able to save 10 of the costumes you designed and they will be in a rotation and she'll wear a different one each day. This is a huge undertaking though and I'm gonna focus on writing more events for the next couple of updates.
 

rb813

Active Member
Aug 28, 2018
976
574
Like if you want to add new stockings for Hermione, search for the stockings section.
Then add $ wr_stockings.append("your_item_name") below all the other stockings.
When I do that, I get a "name is not defined" error. When you add your own custom item, is it supposed to show up in the store, or just go straight into wardrobe?

Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/__Renpy__/wardrobe/_wardrobe_labels_.rpy", line 115, in script call
    call update_wr_outfits_list
  File "game/__Renpy__/wardrobe/_wardrobe_lists_.rpy", line 635, in script
    if hg_testoutfit_OBJ.unlocked:
  File "game/__Renpy__/wardrobe/_wardrobe_lists_.rpy", line 635, in <module>
    if hg_testoutfit_OBJ.unlocked:
NameError: name 'hg_testoutfit_OBJ' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/__Renpy__/wardrobe/_wardrobe_labels_.rpy", line 115, in script call
    call update_wr_outfits_list
  File "game/__Renpy__/wardrobe/_wardrobe_lists_.rpy", line 635, in script
    if hg_testoutfit_OBJ.unlocked:
  File "C:\Users\Owner\Downloads\Stuff\Games\WT_Silver_1.33-pc\renpy\ast.py", line 1729, in execute
    if renpy.python.py_eval(condition):
  File "C:\Users\Owner\Downloads\Stuff\Games\WT_Silver_1.33-pc\renpy\python.py", line 1943, in py_eval
    return py_eval_bytecode(code, globals, locals)
  File "C:\Users\Owner\Downloads\Stuff\Games\WT_Silver_1.33-pc\renpy\python.py", line 1936, in py_eval_bytecode
    return eval(bytecode, globals, locals)
  File "game/__Renpy__/wardrobe/_wardrobe_lists_.rpy", line 635, in <module>
    if hg_testoutfit_OBJ.unlocked:
NameError: name 'hg_testoutfit_OBJ' is not defined

Windows-8-6.2.9200
Ren'Py 7.0.0.196
WT Silver 1.33
Thu Dec 13 13:24:44 2018
 

LoafyLemon

Witch Trainer Silver
Game Developer
Jul 1, 2017
534
1,425
Thanks for the post!
I'll have a look at it and maybe add the weather if that's ok with you. Might add a calendar to the game or make the Christmas stuff appear around day 100 or something.
That would be great! Please, be my guest and use it however you wish. :D

The pants look good. The shirts might need more work, especially the large breasts.
Do you have the lines and color and shadows as different layers?
I agree, shirt doesn't look or feel complete yet, thus why I didn't bother adding it yet, but I am quite happy with the pants, I think they turned out well. Everything has its own layer and/or clipping mask, changing colours isn't a problem.

I might have went a little overboard and converted all existing pants/skirts to support expanded butt as well. Maybe it can be useful in the future. :unsure:
 
  • Like
Reactions: Wyrdo

MadMerlin

Member
Game Developer
Aug 21, 2017
117
650
When I do that, I get a "name is not defined" error. When you add your own custom item, is it supposed to show up in the store, or just go straight into wardrobe?

Code:
While running game code:
  File "game/__Renpy__/wardrobe/_wardrobe_labels_.rpy", line 115, in script call
    call update_wr_outfits_list
  File "game/__Renpy__/wardrobe/_wardrobe_lists_.rpy", line 635, in script
    if hg_testoutfit_OBJ.unlocked:
  File "game/__Renpy__/wardrobe/_wardrobe_lists_.rpy", line 635, in <module>
    if hg_testoutfit_OBJ.unlocked:
NameError: name 'hg_testoutfit_OBJ' is not defined
What are you trying to add? An outfit?
Outfits need layers assigned to it. And you need to add your outfit to the right outfit list.

If you want to add your outfit you'll need to do four things:
1. Create the item inside __Items__.rpy where the outfits are at. And give your outfit the right names and store image.
Code:
if not hasattr(renpy.store,'hg_your_outfit_ITEM'):
    $ hg_your_outfit_ITEM      = outfit_class(id="hg_your_outfit", name="Your Outfit",  type="outfit", items=["outfit"], cost=150, wait_time=1, image="outfits/hg_your_outfit", description=">Your outfit's description.")
2. Add the outfit to one of those lists:
Code:
    $ hermione_outfits_list=[
        hg_outfit_maid_ITEM, hg_outfit_pirate_ITEM, hg_outfit_christmas_ITEM, hg_outfit_present_ITEM,
        hg_outfit_japan_ITEM, hg_outfit_witch_ITEM, hg_outfit_egypt_ITEM,
        ]

    $ hermione_costumes_list = [
        hg_costume_power_girl_ITEM, hg_costume_ms_marvel_ITEM, hg_costume_harley_quinn_ITEM, hg_costume_lara_croft_ITEM,
        hg_costume_tifa_ITEM, hg_costume_elizabeth_ITEM, hg_costume_yennefer_ITEM,
        ]

    $ hermione_dresses_list = [
        hg_dress_dancer_ITEM, hg_dress_yule_ball_ITEM,
        ]
3. Create a mannequin and add it to the outfits folder (interface/icons/outfits/your_outfit.png)

4. Go to __Clothing__.rpy and add any layer you want to this line. oh and all your layer images need to be in the clothing folder called "custom" (and if you need a different breast layer assign a different one to it):
Code:
    $ hg_your_outfit_ITEM.outfit_layers = ["layer_1.png","layer_2.png","layer_3.png"]
For outfits it makes no difference if you add a store item or not. You need a mannequin image for the wardrobe anyway, and it gets added to the store and wardrobe automatically.
 
  • Like
Reactions: Wyrdo

rb813

Active Member
Aug 28, 2018
976
574
I appreciate you trying to explain it to me step-by-step, but honestly, I'm more confused now than I was before. For the life of me, I can't find any __Items__.rpy. _store_items_ kinda looks like what you were describing, but not exactly the same. I tried to follow your instructions as best I could in that script, but the results weren't any better.
Code:
I'm sorry, but an uncaught exception occurred.

While running game code:
  File "game/__Renpy__/___Persistant___.rpy", line 281, in script call
    call store_items_init
  File "game/__Renpy__/shop/_store_items_.rpy", line 834, in script
    $ hermione_outfits_list.append(testoutfit_OBJ)
  File "game/__Renpy__/shop/_store_items_.rpy", line 834, in <module>
    $ hermione_outfits_list.append(testoutfit_OBJ)
NameError: name 'testoutfit_OBJ' is not defined

-- Full Traceback ------------------------------------------------------------

Full traceback:
  File "game/__Renpy__/___Persistant___.rpy", line 281, in script call
    call store_items_init
  File "game/__Renpy__/shop/_store_items_.rpy", line 834, in script
    $ hermione_outfits_list.append(testoutfit_OBJ)
  File "C:\Users\Owner\Downloads\New folder\WT_Silver_133c_-_PC\WT_Silver_1.33c-pc\renpy\ast.py", line 862, in execute
    renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
  File "C:\Users\Owner\Downloads\New folder\WT_Silver_133c_-_PC\WT_Silver_1.33c-pc\renpy\python.py", line 1912, in py_exec_bytecode
    exec bytecode in globals, locals
  File "game/__Renpy__/shop/_store_items_.rpy", line 834, in <module>
    $ hermione_outfits_list.append(testoutfit_OBJ)
NameError: name 'testoutfit_OBJ' is not defined

Windows-8-6.2.9200
Ren'Py 7.0.0.196
WT Silver 1.33c
Thu Dec 13 14:32:28 2018
 

MadMerlin

Member
Game Developer
Aug 21, 2017
117
650
I appreciate you trying to explain it to me step-by-step, but honestly, I'm more confused now than I was before. For the life of me, I can't find any __Items__.rpy. _store_items_ kinda looks like what you were describing, but not exactly the same. I tried to follow your instructions as best I could in that script, but the results weren't any better.
Your files need to be up to date with the latest github changes from the master file.
Sorry if I forgot to mention that.
 

LoafyLemon

Witch Trainer Silver
Game Developer
Jul 1, 2017
534
1,425
Wow, that's a lot of changes from 1.33. Are you planning a new release soon, or is the github version still pretty buggy?
I'd say its quite stable considering amount of changes it went through. In case of emergency you could always ask fellow F95 users to help you with bugs. ;)
 
  • Like
Reactions: Wyrdo
4.10 star(s) 75 Votes